aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-03-12 19:18:14 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-17 23:47:05 -0400
commit727e625cc2c114e449a78f851b0c12edac897a83 (patch)
treeec7b14d68fb1b79d636d50756082e61360610063 /drivers/media/video/cx88
parent9c89a181a09eaafca5fc638c3b7ce1620227f60a (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/cx88')
-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 6b6abf062c21..8b52546c6e1d 100644
--- a/drivers/media/video/cx88/cx88-input.c
+++ b/drivers/media/video/cx88/cx88-input.c
@@ -32,6 +32,8 @@
32#include "cx88.h" 32#include "cx88.h"
33#include <media/ir-common.h> 33#include <media/ir-common.h>
34 34
35#define MODULE_NAME "cx88xx"
36
35/* ---------------------------------------------------------------------- */ 37/* ---------------------------------------------------------------------- */
36 38
37struct cx88_IR { 39struct cx88_IR {
@@ -384,7 +386,7 @@ int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci)
384 cx88_ir_start(core, ir); 386 cx88_ir_start(core, ir);
385 387
386 /* all done */ 388 /* all done */
387 err = ir_input_register(ir->input, ir_codes, NULL); 389 err = ir_input_register(ir->input, ir_codes, NULL, MODULE_NAME);
388 if (err) 390 if (err)
389 goto err_out_stop; 391 goto err_out_stop;
390 392