diff options
Diffstat (limited to 'drivers/media/rc/keymaps/rc-videomate-s350.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-videomate-s350.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-videomate-s350.c b/drivers/media/rc/keymaps/rc-videomate-s350.c index f8a0d107001e..9e474a6024e5 100644 --- a/drivers/media/rc/keymaps/rc-videomate-s350.c +++ b/drivers/media/rc/keymaps/rc-videomate-s350.c | |||
@@ -59,7 +59,7 @@ static struct rc_map_table videomate_s350[] = { | |||
59 | { 0x20, KEY_TEXT}, | 59 | { 0x20, KEY_TEXT}, |
60 | }; | 60 | }; |
61 | 61 | ||
62 | static struct rc_keymap videomate_s350_map = { | 62 | static struct rc_map_list videomate_s350_map = { |
63 | .map = { | 63 | .map = { |
64 | .scan = videomate_s350, | 64 | .scan = videomate_s350, |
65 | .size = ARRAY_SIZE(videomate_s350), | 65 | .size = ARRAY_SIZE(videomate_s350), |
@@ -70,12 +70,12 @@ static struct rc_keymap videomate_s350_map = { | |||
70 | 70 | ||
71 | static int __init init_rc_map_videomate_s350(void) | 71 | static int __init init_rc_map_videomate_s350(void) |
72 | { | 72 | { |
73 | return ir_register_map(&videomate_s350_map); | 73 | return rc_map_register(&videomate_s350_map); |
74 | } | 74 | } |
75 | 75 | ||
76 | static void __exit exit_rc_map_videomate_s350(void) | 76 | static void __exit exit_rc_map_videomate_s350(void) |
77 | { | 77 | { |
78 | ir_unregister_map(&videomate_s350_map); | 78 | rc_map_unregister(&videomate_s350_map); |
79 | } | 79 | } |
80 | 80 | ||
81 | module_init(init_rc_map_videomate_s350) | 81 | module_init(init_rc_map_videomate_s350) |