diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-03-12 09:50:17 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-17 23:47:05 -0400 |
commit | 9c89a181a09eaafca5fc638c3b7ce1620227f60a (patch) | |
tree | e929f5d6c8da15e67a139fa7585ba605bd21c728 /drivers/media/IR/ir-keytable.c | |
parent | 2915e5ef35d103a5ecae15d9ecc614fcd0dc48f4 (diff) |
V4L/DVB: ir-core: Export IR name via uevent
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR/ir-keytable.c')
-rw-r--r-- | drivers/media/IR/ir-keytable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/IR/ir-keytable.c b/drivers/media/IR/ir-keytable.c index af1f4d7fb910..6db3ff74659b 100644 --- a/drivers/media/IR/ir-keytable.c +++ b/drivers/media/IR/ir-keytable.c | |||
@@ -419,6 +419,7 @@ int ir_input_register(struct input_dev *input_dev, | |||
419 | 419 | ||
420 | spin_lock_init(&ir_dev->rc_tab.lock); | 420 | spin_lock_init(&ir_dev->rc_tab.lock); |
421 | 421 | ||
422 | ir_dev->rc_tab.name = rc_tab->name; | ||
422 | ir_dev->rc_tab.size = ir_roundup_tablesize(rc_tab->size); | 423 | ir_dev->rc_tab.size = ir_roundup_tablesize(rc_tab->size); |
423 | ir_dev->rc_tab.scan = kzalloc(ir_dev->rc_tab.size * | 424 | ir_dev->rc_tab.scan = kzalloc(ir_dev->rc_tab.size * |
424 | sizeof(struct ir_scancode), GFP_KERNEL); | 425 | sizeof(struct ir_scancode), GFP_KERNEL); |