Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] v4l: make the input event device for IR matchable by udev rules.

- Makes the input event device created by the V4L drivers for the
infrared remote matchable by udev rules.

Signed-off-by: Rudo Thomas <rudo@matfyz.cz>
Signed-off-by: Michael Fair <michael@daclubhouse.net>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Mauro Carvalho Chehab and committed by
Linus Torvalds
67e49a1a 5129b158

+3
+1
drivers/media/video/cx88/cx88-input.c
··· 445 445 ir->input.id.vendor = pci->vendor; 446 446 ir->input.id.product = pci->device; 447 447 } 448 + ir->input.dev = &pci->dev; 448 449 449 450 /* record handles to ourself */ 450 451 ir->core = core;
+1
drivers/media/video/ir-kbd-gpio.c
··· 353 353 ir->input.id.vendor = sub->core->pci->vendor; 354 354 ir->input.id.product = sub->core->pci->device; 355 355 } 356 + ir->input.dev = &sub->core->pci->dev; 356 357 357 358 if (ir->polling) { 358 359 INIT_WORK(&ir->work, ir_work, ir);
+1
drivers/media/video/saa7134/saa7134-input.c
··· 564 564 ir->dev.id.vendor = dev->pci->vendor; 565 565 ir->dev.id.product = dev->pci->device; 566 566 } 567 + ir->dev.dev = &dev->pci->dev; 567 568 568 569 /* all done */ 569 570 dev->remote = ir;