Skip to content

Commit

Permalink
Input: serio_raw - link serio_raw misc device to corresponding
Browse files Browse the repository at this point in the history
       serio port in sysfs.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Dmitry Torokhov committed Jul 11, 2005
1 parent e0d21d9 commit dc1e97b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/input/serio/serio_raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dc1e97b

Please sign in to comment.