diff options
Diffstat (limited to 'drivers/media/IR/ir-sysfs.c')
-rw-r--r-- | drivers/media/IR/ir-sysfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/IR/ir-sysfs.c b/drivers/media/IR/ir-sysfs.c index 6273047e915b..96dafc425c8e 100644 --- a/drivers/media/IR/ir-sysfs.c +++ b/drivers/media/IR/ir-sysfs.c | |||
@@ -325,6 +325,7 @@ static int __init ir_core_init(void) | |||
325 | 325 | ||
326 | /* Initialize/load the decoders/keymap code that will be used */ | 326 | /* Initialize/load the decoders/keymap code that will be used */ |
327 | ir_raw_init(); | 327 | ir_raw_init(); |
328 | ir_rcmap_init(); | ||
328 | 329 | ||
329 | return 0; | 330 | return 0; |
330 | } | 331 | } |
@@ -332,6 +333,7 @@ static int __init ir_core_init(void) | |||
332 | static void __exit ir_core_exit(void) | 333 | static void __exit ir_core_exit(void) |
333 | { | 334 | { |
334 | class_unregister(&ir_input_class); | 335 | class_unregister(&ir_input_class); |
336 | ir_rcmap_cleanup(); | ||
335 | } | 337 | } |
336 | 338 | ||
337 | module_init(ir_core_init); | 339 | module_init(ir_core_init); |