Messages in this thread Patch in this message |  | | | Date | Mon, 25 Jul 2005 00:34:59 -0500 | | From | Dmitry Torokhov <> | | Subject | [patch 10/24] serio_raw: link misc device and serio port |
| |
Input: serio_raw - link serio_raw misc device to corresponding serio port in sysfs.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru> --- drivers/input/serio/serio_raw.c | 1 + 1 files changed, 1 insertion(+) Index: work/drivers/input/serio/serio_raw.c =================================================================== --- work.orig/drivers/input/serio/serio_raw.c +++ work/drivers/input/serio/serio_raw.c @@ -299,6 +299,7 @@ static int serio_raw_connect(struct seri 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); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |