diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-09-02 22:00:49 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-09-02 22:00:49 +0000 |
commit | 5b2afdf06a8eae654f46dde6c3a028858b22e5d6 (patch) | |
tree | a78f7c341368449d65ae43eae0c400ab1e7a4175 | |
parent | 5309deb2d4a787b9135adc9e786e1ce45e26ef31 (diff) | |
download | mediapointer-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>
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-input.c | 3 | ||||
-rw-r--r-- | linux/drivers/media/video/ir-kbd-gpio.c | 3 | ||||
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-input.c | 3 | ||||
-rw-r--r-- | v4l/ChangeLog | 11 |
4 files changed, 17 insertions, 3 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-input.c b/linux/drivers/media/video/cx88/cx88-input.c index efdf092bf..0ba6c196b 100644 --- a/linux/drivers/media/video/cx88/cx88-input.c +++ b/linux/drivers/media/video/cx88/cx88-input.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-input.c,v 1.17 2005/08/10 15:16:31 mkrufky Exp $ + * $Id: cx88-input.c,v 1.18 2005/09/02 22:00:49 mchehab Exp $ * * Device driver for GPIO attached remote control interfaces * on Conexant 2388x based TV/DVB cards. @@ -446,6 +446,7 @@ int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci) ir->input.id.vendor = pci->vendor; ir->input.id.product = pci->device; } + ir->dev.dev = &dev->pci->dev; /* record handles to ourself */ ir->core = core; 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) { diff --git a/linux/drivers/media/video/saa7134/saa7134-input.c b/linux/drivers/media/video/saa7134/saa7134-input.c index bd59a8686..092b49ce9 100644 --- a/linux/drivers/media/video/saa7134/saa7134-input.c +++ b/linux/drivers/media/video/saa7134/saa7134-input.c @@ -1,5 +1,5 @@ /* - * $Id: saa7134-input.c,v 1.22 2005/07/15 21:44:14 mchehab Exp $ + * $Id: saa7134-input.c,v 1.23 2005/09/02 22:00:49 mchehab Exp $ * * handle saa7134 IR remotes via linux kernel input layer. * @@ -569,6 +569,7 @@ int saa7134_input_init1(struct saa7134_dev *dev) ir->dev.id.vendor = dev->pci->vendor; ir->dev.id.product = dev->pci->device; } + ir->dev.dev = &dev->pci->dev; #endif /* all done */ diff --git a/v4l/ChangeLog b/v4l/ChangeLog index 0035030e2..0b13fa6a9 100644 --- a/v4l/ChangeLog +++ b/v4l/ChangeLog @@ -1,3 +1,14 @@ +2005-09-02 21:57 mchehab + + * cx88-input.c: (cx88_ir_init): + * ir-kbd-gpio.c: (ir_probe): + * saa7134-input.c: (saa7134_input_init1): + - 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> + 2005-09-02 21:18 mchehab * msp3400.c: |