Input: serio_raw - link serio_raw misc device to corresponding
authorDmitry Torokhov <dtor_core@ameritech.net>
Mon, 11 Jul 2005 06:02:16 +0000 (01:02 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Mon, 11 Jul 2005 06:02:16 +0000 (01:02 -0500)
       serio port in sysfs.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/serio_raw.c

index d914e7e93db4c483b63e77074cd903670c39db70..47e08de18d07adab295db158fa237b2cc5f83383 100644 (file)
@@ -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);