Commit dc1e97b5 authored by Dmitry Torokhov's avatar Dmitry Torokhov

Input: serio_raw - link serio_raw misc device to corresponding

       serio port in sysfs.
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent e0d21d9c
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment