diff options
Diffstat (limited to 'drivers/media/rc/keymaps/rc-alink-dtu-m.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-alink-dtu-m.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-alink-dtu-m.c b/drivers/media/rc/keymaps/rc-alink-dtu-m.c index 36e1eb1d8347..fe652e928dc0 100644 --- a/drivers/media/rc/keymaps/rc-alink-dtu-m.c +++ b/drivers/media/rc/keymaps/rc-alink-dtu-m.c | |||
@@ -42,7 +42,7 @@ static struct rc_map_table alink_dtu_m[] = { | |||
42 | { 0x081d, KEY_CHANNELDOWN }, | 42 | { 0x081d, KEY_CHANNELDOWN }, |
43 | }; | 43 | }; |
44 | 44 | ||
45 | static struct rc_keymap alink_dtu_m_map = { | 45 | static struct rc_map_list alink_dtu_m_map = { |
46 | .map = { | 46 | .map = { |
47 | .scan = alink_dtu_m, | 47 | .scan = alink_dtu_m, |
48 | .size = ARRAY_SIZE(alink_dtu_m), | 48 | .size = ARRAY_SIZE(alink_dtu_m), |
@@ -53,12 +53,12 @@ static struct rc_keymap alink_dtu_m_map = { | |||
53 | 53 | ||
54 | static int __init init_rc_map_alink_dtu_m(void) | 54 | static int __init init_rc_map_alink_dtu_m(void) |
55 | { | 55 | { |
56 | return ir_register_map(&alink_dtu_m_map); | 56 | return rc_map_register(&alink_dtu_m_map); |
57 | } | 57 | } |
58 | 58 | ||
59 | static void __exit exit_rc_map_alink_dtu_m(void) | 59 | static void __exit exit_rc_map_alink_dtu_m(void) |
60 | { | 60 | { |
61 | ir_unregister_map(&alink_dtu_m_map); | 61 | rc_map_unregister(&alink_dtu_m_map); |
62 | } | 62 | } |
63 | 63 | ||
64 | module_init(init_rc_map_alink_dtu_m) | 64 | module_init(init_rc_map_alink_dtu_m) |