[patch 10/24] serio_raw: link misc device and serio port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Input: serio_raw - link serio_raw misc device to corresponding
       serio port in sysfs.

Signed-off-by: Dmitry Torokhov <[email protected]>
---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux