diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2005-09-09 16:04:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 16:57:53 -0400 |
commit | 67e49a1abe3e9458c7ffba66775b350b5ceffae0 (patch) | |
tree | b4d5b458fcc71aee7129525e8685339334db6d10 /drivers/media/video/ir-kbd-gpio.c | |
parent | 5129b1589883d6eaa54886f3e0c5d918dafe329e (diff) |
[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>
Diffstat (limited to 'drivers/media/video/ir-kbd-gpio.c')
-rw-r--r-- | drivers/media/video/ir-kbd-gpio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/ir-kbd-gpio.c b/drivers/media/video/ir-kbd-gpio.c index eddadc76e11d..cf292da8fdd5 100644 --- a/drivers/media/video/ir-kbd-gpio.c +++ b/drivers/media/video/ir-kbd-gpio.c | |||
@@ -353,6 +353,7 @@ static int ir_probe(struct device *dev) | |||
353 | ir->input.id.vendor = sub->core->pci->vendor; | 353 | ir->input.id.vendor = sub->core->pci->vendor; |
354 | ir->input.id.product = sub->core->pci->device; | 354 | ir->input.id.product = sub->core->pci->device; |
355 | } | 355 | } |
356 | ir->input.dev = &sub->core->pci->dev; | ||
356 | 357 | ||
357 | if (ir->polling) { | 358 | if (ir->polling) { |
358 | INIT_WORK(&ir->work, ir_work, ir); | 359 | INIT_WORK(&ir->work, ir_work, ir); |