diff options
Diffstat (limited to 'drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.c b/drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.c index f6235bbad507..e45f0b8759d0 100644 --- a/drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.c +++ b/drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.c | |||
@@ -73,7 +73,7 @@ static struct rc_map_table kworld_plus_tv_analog[] = { | |||
73 | { 0x23, KEY_GREEN}, /* C */ | 73 | { 0x23, KEY_GREEN}, /* C */ |
74 | }; | 74 | }; |
75 | 75 | ||
76 | static struct rc_keymap kworld_plus_tv_analog_map = { | 76 | static struct rc_map_list kworld_plus_tv_analog_map = { |
77 | .map = { | 77 | .map = { |
78 | .scan = kworld_plus_tv_analog, | 78 | .scan = kworld_plus_tv_analog, |
79 | .size = ARRAY_SIZE(kworld_plus_tv_analog), | 79 | .size = ARRAY_SIZE(kworld_plus_tv_analog), |
@@ -84,12 +84,12 @@ static struct rc_keymap kworld_plus_tv_analog_map = { | |||
84 | 84 | ||
85 | static int __init init_rc_map_kworld_plus_tv_analog(void) | 85 | static int __init init_rc_map_kworld_plus_tv_analog(void) |
86 | { | 86 | { |
87 | return ir_register_map(&kworld_plus_tv_analog_map); | 87 | return rc_map_register(&kworld_plus_tv_analog_map); |
88 | } | 88 | } |
89 | 89 | ||
90 | static void __exit exit_rc_map_kworld_plus_tv_analog(void) | 90 | static void __exit exit_rc_map_kworld_plus_tv_analog(void) |
91 | { | 91 | { |
92 | ir_unregister_map(&kworld_plus_tv_analog_map); | 92 | rc_map_unregister(&kworld_plus_tv_analog_map); |
93 | } | 93 | } |
94 | 94 | ||
95 | module_init(init_rc_map_kworld_plus_tv_analog) | 95 | module_init(init_rc_map_kworld_plus_tv_analog) |