summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor_core@ameritech.net>2005-07-11 08:02:16 +0200
committerDmitry Torokhov <dtor_core@ameritech.net>2005-07-11 08:02:16 +0200
commitdc1e97b5eaed1921f421cf56fd233f064464b300 (patch)
tree72e9299cd9c23ba36f1a15ea0fc5712e76af30bc /drivers
parentMerge rsync://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 (diff)
downloadlinux-dc1e97b5eaed1921f421cf56fd233f064464b300.tar.xz
linux-dc1e97b5eaed1921f421cf56fd233f064464b300.zip
Input: serio_raw - link serio_raw misc device to corresponding
serio port in sysfs. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/serio/serio_raw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/serio/serio_raw.c b/drivers/input/serio/serio_raw.c
index d914e7e93db4..47e08de18d07 100644
--- a/drivers/input/serio/serio_raw.c
+++ b/drivers/input/serio/serio_raw.c
@@ -299,6 +299,7 @@ static int serio_raw_connect(struct serio *serio, struct serio_driver *drv)
serio_raw->dev.minor = PSMOUSE_MINOR;
serio_raw->dev.name = serio_raw->name;
+ serio_raw->dev.dev = &serio->dev;
serio_raw->dev.fops = &serio_raw_fops;
err = misc_register(&serio_raw->dev);