aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-input.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-03-12 21:18:14 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 00:47:05 -0300
commit727e625cc2c114e449a78f851b0c12edac897a83 (patch)
treeec7b14d68fb1b79d636d50756082e61360610063 /drivers/media/video/cx88/cx88-input.c
parent9c89a181a09eaafca5fc638c3b7ce1620227f60a (diff)
downloadkernel_samsung_smdk4412-727e625cc2c114e449a78f851b0c12edac897a83.zip
kernel_samsung_smdk4412-727e625cc2c114e449a78f851b0c12edac897a83.tar.gz
kernel_samsung_smdk4412-727e625cc2c114e449a78f851b0c12edac897a83.tar.bz2
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/cx88/cx88-input.c')
-rw-r--r--drivers/media/video/cx88/cx88-input.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88-input.c b/drivers/media/video/cx88/cx88-input.c
index 6b6abf0..8b52546 100644
--- a/drivers/media/video/cx88/cx88-input.c
+++ b/drivers/media/video/cx88/cx88-input.c
@@ -32,6 +32,8 @@
#include "cx88.h"
#include <media/ir-common.h>
+#define MODULE_NAME "cx88xx"
+
/* ---------------------------------------------------------------------- */
struct cx88_IR {
@@ -384,7 +386,7 @@ int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci)
cx88_ir_start(core, ir);
/* all done */
- err = ir_input_register(ir->input, ir_codes, NULL);
+ err = ir_input_register(ir->input, ir_codes, NULL, MODULE_NAME);
if (err)
goto err_out_stop;