diff options
Diffstat (limited to 'drivers/media/rc/keymaps/rc-behold.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-behold.c | 6 |
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 | ||
118 | static struct rc_keymap behold_map = { | 118 | static 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 | ||
127 | static int __init init_rc_map_behold(void) | 127 | static 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 | ||
132 | static void __exit exit_rc_map_behold(void) | 132 | static 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 | ||
137 | module_init(init_rc_map_behold) | 137 | module_init(init_rc_map_behold) |