diff options
Diffstat (limited to 'drivers/media/rc/keymaps/rc-encore-enltv.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-encore-enltv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-encore-enltv.c b/drivers/media/rc/keymaps/rc-encore-enltv.c index d16db500ed31..afa4e92284ef 100644 --- a/drivers/media/rc/keymaps/rc-encore-enltv.c +++ b/drivers/media/rc/keymaps/rc-encore-enltv.c | |||
@@ -86,7 +86,7 @@ static struct rc_map_table encore_enltv[] = { | |||
86 | { 0x57, KEY_BLUE }, /* AP4 */ | 86 | { 0x57, KEY_BLUE }, /* AP4 */ |
87 | }; | 87 | }; |
88 | 88 | ||
89 | static struct rc_keymap encore_enltv_map = { | 89 | static struct rc_map_list encore_enltv_map = { |
90 | .map = { | 90 | .map = { |
91 | .scan = encore_enltv, | 91 | .scan = encore_enltv, |
92 | .size = ARRAY_SIZE(encore_enltv), | 92 | .size = ARRAY_SIZE(encore_enltv), |
@@ -97,12 +97,12 @@ static struct rc_keymap encore_enltv_map = { | |||
97 | 97 | ||
98 | static int __init init_rc_map_encore_enltv(void) | 98 | static int __init init_rc_map_encore_enltv(void) |
99 | { | 99 | { |
100 | return ir_register_map(&encore_enltv_map); | 100 | return rc_map_register(&encore_enltv_map); |
101 | } | 101 | } |
102 | 102 | ||
103 | static void __exit exit_rc_map_encore_enltv(void) | 103 | static void __exit exit_rc_map_encore_enltv(void) |
104 | { | 104 | { |
105 | ir_unregister_map(&encore_enltv_map); | 105 | rc_map_unregister(&encore_enltv_map); |
106 | } | 106 | } |
107 | 107 | ||
108 | module_init(init_rc_map_encore_enltv) | 108 | module_init(init_rc_map_encore_enltv) |