diff options
Diffstat (limited to 'drivers/media/rc/keymaps/rc-total-media-in-hand.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-total-media-in-hand.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-total-media-in-hand.c b/drivers/media/rc/keymaps/rc-total-media-in-hand.c index 61a4234f13af..20ac4e19fb3f 100644 --- a/drivers/media/rc/keymaps/rc-total-media-in-hand.c +++ b/drivers/media/rc/keymaps/rc-total-media-in-hand.c | |||
@@ -59,7 +59,7 @@ static struct rc_map_table total_media_in_hand[] = { | |||
59 | { 0x02bd45, KEY_INFO }, /* [red (I)] */ | 59 | { 0x02bd45, KEY_INFO }, /* [red (I)] */ |
60 | }; | 60 | }; |
61 | 61 | ||
62 | static struct rc_keymap total_media_in_hand_map = { | 62 | static struct rc_map_list total_media_in_hand_map = { |
63 | .map = { | 63 | .map = { |
64 | .scan = total_media_in_hand, | 64 | .scan = total_media_in_hand, |
65 | .size = ARRAY_SIZE(total_media_in_hand), | 65 | .size = ARRAY_SIZE(total_media_in_hand), |
@@ -70,12 +70,12 @@ static struct rc_keymap total_media_in_hand_map = { | |||
70 | 70 | ||
71 | static int __init init_rc_map_total_media_in_hand(void) | 71 | static int __init init_rc_map_total_media_in_hand(void) |
72 | { | 72 | { |
73 | return ir_register_map(&total_media_in_hand_map); | 73 | return rc_map_register(&total_media_in_hand_map); |
74 | } | 74 | } |
75 | 75 | ||
76 | static void __exit exit_rc_map_total_media_in_hand(void) | 76 | static void __exit exit_rc_map_total_media_in_hand(void) |
77 | { | 77 | { |
78 | ir_unregister_map(&total_media_in_hand_map); | 78 | rc_map_unregister(&total_media_in_hand_map); |
79 | } | 79 | } |
80 | 80 | ||
81 | module_init(init_rc_map_total_media_in_hand) | 81 | module_init(init_rc_map_total_media_in_hand) |