aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-cinergy-1400.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/keymaps/rc-cinergy-1400.c')
-rw-r--r--drivers/media/rc/keymaps/rc-cinergy-1400.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-cinergy-1400.c b/drivers/media/rc/keymaps/rc-cinergy-1400.c
index 6a69866d836c..284534b67e7d 100644
--- a/drivers/media/rc/keymaps/rc-cinergy-1400.c
+++ b/drivers/media/rc/keymaps/rc-cinergy-1400.c
@@ -58,7 +58,7 @@ static struct rc_map_table cinergy_1400[] = {
58 { 0x5c, KEY_NEXT }, 58 { 0x5c, KEY_NEXT },
59}; 59};
60 60
61static struct rc_keymap cinergy_1400_map = { 61static struct rc_map_list cinergy_1400_map = {
62 .map = { 62 .map = {
63 .scan = cinergy_1400, 63 .scan = cinergy_1400,
64 .size = ARRAY_SIZE(cinergy_1400), 64 .size = ARRAY_SIZE(cinergy_1400),
@@ -69,12 +69,12 @@ static struct rc_keymap cinergy_1400_map = {
69 69
70static int __init init_rc_map_cinergy_1400(void) 70static int __init init_rc_map_cinergy_1400(void)
71{ 71{
72 return ir_register_map(&cinergy_1400_map); 72 return rc_map_register(&cinergy_1400_map);
73} 73}
74 74
75static void __exit exit_rc_map_cinergy_1400(void) 75static void __exit exit_rc_map_cinergy_1400(void)
76{ 76{
77 ir_unregister_map(&cinergy_1400_map); 77 rc_map_unregister(&cinergy_1400_map);
78} 78}
79 79
80module_init(init_rc_map_cinergy_1400) 80module_init(init_rc_map_cinergy_1400)