aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-imon-pad.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/keymaps/rc-imon-pad.c')
-rw-r--r--drivers/media/rc/keymaps/rc-imon-pad.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-imon-pad.c b/drivers/media/rc/keymaps/rc-imon-pad.c
index 33f28d428ef9..eef46b73ca7b 100644
--- a/drivers/media/rc/keymaps/rc-imon-pad.c
+++ b/drivers/media/rc/keymaps/rc-imon-pad.c
@@ -129,7 +129,7 @@ static struct rc_map_table imon_pad[] = {
129 { 0x29b715b7, KEY_DASHBOARD }, /* AppLauncher */ 129 { 0x29b715b7, KEY_DASHBOARD }, /* AppLauncher */
130}; 130};
131 131
132static struct rc_keymap imon_pad_map = { 132static struct rc_map_list imon_pad_map = {
133 .map = { 133 .map = {
134 .scan = imon_pad, 134 .scan = imon_pad,
135 .size = ARRAY_SIZE(imon_pad), 135 .size = ARRAY_SIZE(imon_pad),
@@ -141,12 +141,12 @@ static struct rc_keymap imon_pad_map = {
141 141
142static int __init init_rc_map_imon_pad(void) 142static int __init init_rc_map_imon_pad(void)
143{ 143{
144 return ir_register_map(&imon_pad_map); 144 return rc_map_register(&imon_pad_map);
145} 145}
146 146
147static void __exit exit_rc_map_imon_pad(void) 147static void __exit exit_rc_map_imon_pad(void)
148{ 148{
149 ir_unregister_map(&imon_pad_map); 149 rc_map_unregister(&imon_pad_map);
150} 150}
151 151
152module_init(init_rc_map_imon_pad) 152module_init(init_rc_map_imon_pad)