aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-rc6-mce.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/keymaps/rc-rc6-mce.c')
-rw-r--r--drivers/media/rc/keymaps/rc-rc6-mce.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-rc6-mce.c b/drivers/media/rc/keymaps/rc-rc6-mce.c
index 81f41723fde3..3bf3337875d1 100644
--- a/drivers/media/rc/keymaps/rc-rc6-mce.c
+++ b/drivers/media/rc/keymaps/rc-rc6-mce.c
@@ -87,7 +87,7 @@ static struct rc_map_table rc6_mce[] = {
87 { 0x800f0481, KEY_PLAYPAUSE }, 87 { 0x800f0481, KEY_PLAYPAUSE },
88}; 88};
89 89
90static struct rc_keymap rc6_mce_map = { 90static struct rc_map_list rc6_mce_map = {
91 .map = { 91 .map = {
92 .scan = rc6_mce, 92 .scan = rc6_mce,
93 .size = ARRAY_SIZE(rc6_mce), 93 .size = ARRAY_SIZE(rc6_mce),
@@ -98,12 +98,12 @@ static struct rc_keymap rc6_mce_map = {
98 98
99static int __init init_rc_map_rc6_mce(void) 99static int __init init_rc_map_rc6_mce(void)
100{ 100{
101 return ir_register_map(&rc6_mce_map); 101 return rc_map_register(&rc6_mce_map);
102} 102}
103 103
104static void __exit exit_rc_map_rc6_mce(void) 104static void __exit exit_rc_map_rc6_mce(void)
105{ 105{
106 ir_unregister_map(&rc6_mce_map); 106 rc_map_unregister(&rc6_mce_map);
107} 107}
108 108
109module_init(init_rc_map_rc6_mce) 109module_init(init_rc_map_rc6_mce)