diff options
Diffstat (limited to 'drivers/media/rc/keymaps/rc-avermedia-m135a.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-avermedia-m135a.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-avermedia-m135a.c b/drivers/media/rc/keymaps/rc-avermedia-m135a.c index 971c6f979e94..357fea58a46e 100644 --- a/drivers/media/rc/keymaps/rc-avermedia-m135a.c +++ b/drivers/media/rc/keymaps/rc-avermedia-m135a.c | |||
@@ -121,7 +121,7 @@ static struct rc_map_table avermedia_m135a[] = { | |||
121 | { 0x041e, KEY_NEXT }, | 121 | { 0x041e, KEY_NEXT }, |
122 | }; | 122 | }; |
123 | 123 | ||
124 | static struct rc_keymap avermedia_m135a_map = { | 124 | static struct rc_map_list avermedia_m135a_map = { |
125 | .map = { | 125 | .map = { |
126 | .scan = avermedia_m135a, | 126 | .scan = avermedia_m135a, |
127 | .size = ARRAY_SIZE(avermedia_m135a), | 127 | .size = ARRAY_SIZE(avermedia_m135a), |
@@ -132,12 +132,12 @@ static struct rc_keymap avermedia_m135a_map = { | |||
132 | 132 | ||
133 | static int __init init_rc_map_avermedia_m135a(void) | 133 | static int __init init_rc_map_avermedia_m135a(void) |
134 | { | 134 | { |
135 | return ir_register_map(&avermedia_m135a_map); | 135 | return rc_map_register(&avermedia_m135a_map); |
136 | } | 136 | } |
137 | 137 | ||
138 | static void __exit exit_rc_map_avermedia_m135a(void) | 138 | static void __exit exit_rc_map_avermedia_m135a(void) |
139 | { | 139 | { |
140 | ir_unregister_map(&avermedia_m135a_map); | 140 | rc_map_unregister(&avermedia_m135a_map); |
141 | } | 141 | } |
142 | 142 | ||
143 | module_init(init_rc_map_avermedia_m135a) | 143 | module_init(init_rc_map_avermedia_m135a) |