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/bt8xx/bttv-input.c | |
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/bt8xx/bttv-input.c')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-input.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/bt8xx/bttv-input.c b/drivers/media/video/bt8xx/bttv-input.c index aa153a986ad..d17a9b7911e 100644 --- a/drivers/media/video/bt8xx/bttv-input.c +++ b/drivers/media/video/bt8xx/bttv-input.c | |||
@@ -49,6 +49,8 @@ module_param(ir_rc5_key_timeout, int, 0644); | |||
49 | 49 | ||
50 | #define DEVNAME "bttv-input" | 50 | #define DEVNAME "bttv-input" |
51 | 51 | ||
52 | #define MODULE_NAME "bttv" | ||
53 | |||
52 | /* ---------------------------------------------------------------------- */ | 54 | /* ---------------------------------------------------------------------- */ |
53 | 55 | ||
54 | static void ir_handle_key(struct bttv *btv) | 56 | static void ir_handle_key(struct bttv *btv) |
@@ -390,7 +392,7 @@ int bttv_input_init(struct bttv *btv) | |||
390 | bttv_ir_start(btv, ir); | 392 | bttv_ir_start(btv, ir); |
391 | 393 | ||
392 | /* all done */ | 394 | /* all done */ |
393 | err = ir_input_register(btv->remote->dev, ir_codes, NULL); | 395 | err = ir_input_register(btv->remote->dev, ir_codes, NULL, MODULE_NAME); |
394 | if (err) | 396 | if (err) |
395 | goto err_out_stop; | 397 | goto err_out_stop; |
396 | 398 | ||