]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/media/IR/ir-keytable.c
V4L/DVB: ir-core: Export IR name via uevent
[net-next-2.6.git] / drivers / media / IR / ir-keytable.c
index af1f4d7fb91099a67c8d0127976cdc1f8dde4e0a..6db3ff74659b54acb6476469f5462a8201a9ddf3 100644 (file)
@@ -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);