aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-behold.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/keymaps/rc-behold.c')
-rw-r--r--drivers/media/rc/keymaps/rc-behold.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-behold.c b/drivers/media/rc/keymaps/rc-behold.c
index 4402414bacd9..ae4d2354c7b9 100644
--- a/drivers/media/rc/keymaps/rc-behold.c
+++ b/drivers/media/rc/keymaps/rc-behold.c
@@ -115,7 +115,7 @@ static struct rc_map_table behold[] = {
115 115
116}; 116};
117 117
118static struct rc_keymap behold_map = { 118static struct rc_map_list behold_map = {
119 .map = { 119 .map = {
120 .scan = behold, 120 .scan = behold,
121 .size = ARRAY_SIZE(behold), 121 .size = ARRAY_SIZE(behold),
@@ -126,12 +126,12 @@ static struct rc_keymap behold_map = {
126 126
127static int __init init_rc_map_behold(void) 127static int __init init_rc_map_behold(void)
128{ 128{
129 return ir_register_map(&behold_map); 129 return rc_map_register(&behold_map);
130} 130}
131 131
132static void __exit exit_rc_map_behold(void) 132static void __exit exit_rc_map_behold(void)
133{ 133{
134 ir_unregister_map(&behold_map); 134 rc_map_unregister(&behold_map);
135} 135}
136 136
137module_init(init_rc_map_behold) 137module_init(init_rc_map_behold)