diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-03-12 19:18:14 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-17 23:47:05 -0400 |
commit | 727e625cc2c114e449a78f851b0c12edac897a83 (patch) | |
tree | ec7b14d68fb1b79d636d50756082e61360610063 /drivers/media/video/saa7134 | |
parent | 9c89a181a09eaafca5fc638c3b7ce1620227f60a (diff) |
V4L/DVB: ir-core: export driver name used by IR via uevent
Now, both driver and keytable names are exported to userspace. This
will help userspace to decide when a table need to be replaced
by another one.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-input.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c index a2b16693ee9a..c1fe7c9369b2 100644 --- a/drivers/media/video/saa7134/saa7134-input.c +++ b/drivers/media/video/saa7134/saa7134-input.c | |||
@@ -28,6 +28,8 @@ | |||
28 | #include "saa7134-reg.h" | 28 | #include "saa7134-reg.h" |
29 | #include "saa7134.h" | 29 | #include "saa7134.h" |
30 | 30 | ||
31 | #define MODULE_NAME "saa7134" | ||
32 | |||
31 | static unsigned int disable_ir; | 33 | static unsigned int disable_ir; |
32 | module_param(disable_ir, int, 0444); | 34 | module_param(disable_ir, int, 0444); |
33 | MODULE_PARM_DESC(disable_ir,"disable infrared remote support"); | 35 | MODULE_PARM_DESC(disable_ir,"disable infrared remote support"); |
@@ -730,7 +732,7 @@ int saa7134_input_init1(struct saa7134_dev *dev) | |||
730 | dev->remote = ir; | 732 | dev->remote = ir; |
731 | saa7134_ir_start(dev, ir); | 733 | saa7134_ir_start(dev, ir); |
732 | 734 | ||
733 | err = ir_input_register(ir->dev, ir_codes, NULL); | 735 | err = ir_input_register(ir->dev, ir_codes, NULL, MODULE_NAME); |
734 | if (err) | 736 | if (err) |
735 | goto err_out_stop; | 737 | goto err_out_stop; |
736 | 738 | ||