.
- 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;

Reply via email to