diff options
Diffstat (limited to 'drivers/media/rc/keymaps/rc-lme2510.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-lme2510.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-lme2510.c b/drivers/media/rc/keymaps/rc-lme2510.c index eb2d39698ef0..875cd81477c7 100644 --- a/drivers/media/rc/keymaps/rc-lme2510.c +++ b/drivers/media/rc/keymaps/rc-lme2510.c | |||
@@ -42,7 +42,7 @@ static struct rc_map_table lme2510_rc[] = { | |||
42 | 42 | ||
43 | }; | 43 | }; |
44 | 44 | ||
45 | static struct rc_keymap lme2510_map = { | 45 | static struct rc_map_list lme2510_map = { |
46 | .map = { | 46 | .map = { |
47 | .scan = lme2510_rc, | 47 | .scan = lme2510_rc, |
48 | .size = ARRAY_SIZE(lme2510_rc), | 48 | .size = ARRAY_SIZE(lme2510_rc), |
@@ -53,12 +53,12 @@ static struct rc_keymap lme2510_map = { | |||
53 | 53 | ||
54 | static int __init init_rc_lme2510_map(void) | 54 | static int __init init_rc_lme2510_map(void) |
55 | { | 55 | { |
56 | return ir_register_map(&lme2510_map); | 56 | return rc_map_register(&lme2510_map); |
57 | } | 57 | } |
58 | 58 | ||
59 | static void __exit exit_rc_lme2510_map(void) | 59 | static void __exit exit_rc_lme2510_map(void) |
60 | { | 60 | { |
61 | ir_unregister_map(&lme2510_map); | 61 | rc_map_unregister(&lme2510_map); |
62 | } | 62 | } |
63 | 63 | ||
64 | module_init(init_rc_lme2510_map) | 64 | module_init(init_rc_lme2510_map) |