diff options
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); |