summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ir-kbd-gpio.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-09-02 22:00:49 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-09-02 22:00:49 +0000
commit5b2afdf06a8eae654f46dde6c3a028858b22e5d6 (patch)
treea78f7c341368449d65ae43eae0c400ab1e7a4175 /linux/drivers/media/video/ir-kbd-gpio.c
parent5309deb2d4a787b9135adc9e786e1ce45e26ef31 (diff)
downloadmediapointer-dvb-s2-5b2afdf06a8eae654f46dde6c3a028858b22e5d6.tar.gz
mediapointer-dvb-s2-5b2afdf06a8eae654f46dde6c3a028858b22e5d6.tar.bz2
- 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: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/ir-kbd-gpio.c')
-rw-r--r--linux/drivers/media/video/ir-kbd-gpio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/ir-kbd-gpio.c b/linux/drivers/media/video/ir-kbd-gpio.c
index c3729afc1..491183067 100644
--- a/linux/drivers/media/video/ir-kbd-gpio.c
+++ b/linux/drivers/media/video/ir-kbd-gpio.c
@@ -1,5 +1,5 @@
/*
- * $Id: ir-kbd-gpio.c,v 1.13 2005/05/15 19:01:26 mchehab Exp $
+ * $Id: ir-kbd-gpio.c,v 1.14 2005/09/02 22:00:49 mchehab Exp $
*
* Copyright (c) 2003 Gerd Knorr
* Copyright (c) 2003 Pavel Machek
@@ -355,6 +355,7 @@ static int ir_probe(struct device *dev)
ir->input.id.vendor = sub->core->pci->vendor;
ir->input.id.product = sub->core->pci->device;
}
+ ir->dev.dev = &dev->pci->dev;
#endif
if (ir->polling) {