.
- Makes the input event device created by the V4L drivers for the
infrared remote matchable by udev rules.
Signed-off-by: Rudo Thomas <[email protected]>
Signed-off-by: Michael Fair <[email protected]>
Signed-off-by: Michael Krufky <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
linux/drivers/media/video/cx88/cx88-input.c | 1 +
linux/drivers/media/video/ir-kbd-gpio.c | 1 +
linux/drivers/media/video/saa7134/saa7134-input.c | 1 +
3 files changed, 3 insertions(+)
diff -u /tmp/dst.1212 linux/drivers/media/video/ir-kbd-gpio.c
--- /tmp/dst.1212 2005-09-05 11:43:16.000000000 -0300
+++ linux/drivers/media/video/ir-kbd-gpio.c 2005-09-05 11:43:16.000000000 -0300
@@ -353,6 +353,7 @@
ir->input.id.vendor = sub->core->pci->vendor;
ir->input.id.product = sub->core->pci->device;
}
+ ir->input.dev = &sub->core->pci->dev;
if (ir->polling) {
INIT_WORK(&ir->work, ir_work, ir);
diff -u /tmp/dst.1212 linux/drivers/media/video/cx88/cx88-input.c
--- /tmp/dst.1212 2005-09-05 11:43:17.000000000 -0300
+++ linux/drivers/media/video/cx88/cx88-input.c 2005-09-05 11:43:17.000000000 -0300
@@ -445,6 +445,7 @@
ir->input.id.vendor = pci->vendor;
ir->input.id.product = pci->device;
}
+ ir->input.dev = &pci->dev;
/* record handles to ourself */
ir->core = core;
diff -u /tmp/dst.1212 linux/drivers/media/video/saa7134/saa7134-input.c
--- /tmp/dst.1212 2005-09-05 11:43:17.000000000 -0300
+++ linux/drivers/media/video/saa7134/saa7134-input.c 2005-09-05 11:43:17.000000000 -0300
@@ -564,6 +564,7 @@
ir->dev.id.vendor = dev->pci->vendor;
ir->dev.id.product = dev->pci->device;
}
+ ir->dev.dev = &dev->pci->dev;
/* all done */
dev->remote = ir;
[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]
|
|