aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c')
-rw-r--r--drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c b/drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c
index 51999c469884..fa8fd0ab94c7 100644
--- a/drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c
+++ b/drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c
@@ -97,7 +97,7 @@ static struct rc_map_table msi_tvanywhere_plus[] = {
97 { 0x1d, KEY_RESTART }, /* Reset */ 97 { 0x1d, KEY_RESTART }, /* Reset */
98}; 98};
99 99
100static struct rc_keymap msi_tvanywhere_plus_map = { 100static struct rc_map_list msi_tvanywhere_plus_map = {
101 .map = { 101 .map = {
102 .scan = msi_tvanywhere_plus, 102 .scan = msi_tvanywhere_plus,
103 .size = ARRAY_SIZE(msi_tvanywhere_plus), 103 .size = ARRAY_SIZE(msi_tvanywhere_plus),
@@ -108,12 +108,12 @@ static struct rc_keymap msi_tvanywhere_plus_map = {
108 108
109static int __init init_rc_map_msi_tvanywhere_plus(void) 109static int __init init_rc_map_msi_tvanywhere_plus(void)
110{ 110{
111 return ir_register_map(&msi_tvanywhere_plus_map); 111 return rc_map_register(&msi_tvanywhere_plus_map);
112} 112}
113 113
114static void __exit exit_rc_map_msi_tvanywhere_plus(void) 114static void __exit exit_rc_map_msi_tvanywhere_plus(void)
115{ 115{
116 ir_unregister_map(&msi_tvanywhere_plus_map); 116 rc_map_unregister(&msi_tvanywhere_plus_map);
117} 117}
118 118
119module_init(init_rc_map_msi_tvanywhere_plus) 119module_init(init_rc_map_msi_tvanywhere_plus)