Input: serio_raw - link serio_raw misc device to corresponding
serio port in sysfs. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
e0d21d9cca
commit
dc1e97b5ea
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue