diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-03-12 11:50:17 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-18 00:47:05 -0300 |
commit | 9c89a181a09eaafca5fc638c3b7ce1620227f60a (patch) | |
tree | e929f5d6c8da15e67a139fa7585ba605bd21c728 /drivers/media/IR/ir-keytable.c | |
parent | 2915e5ef35d103a5ecae15d9ecc614fcd0dc48f4 (diff) | |
download | linux-stable-9c89a181a09eaafca5fc638c3b7ce1620227f60a.tar.gz linux-stable-9c89a181a09eaafca5fc638c3b7ce1620227f60a.tar.bz2 linux-stable-9c89a181a09eaafca5fc638c3b7ce1620227f60a.zip |
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, spin_lock_init(&ir_dev->rc_tab.lock); + ir_dev->rc_tab.name = rc_tab->name; ir_dev->rc_tab.size = ir_roundup_tablesize(rc_tab->size); ir_dev->rc_tab.scan = kzalloc(ir_dev->rc_tab.size * sizeof(struct ir_scancode), GFP_KERNEL); |