diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-11-17 13:56:53 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 05:16:52 -0500 |
commit | d100e659b61a735c3343b3d82c1c009b04072cdd (patch) | |
tree | d80eedc6a9a51787b4fd2307977b9886a316f122 /drivers/media/rc/keymaps/rc-imon-pad.c | |
parent | 2f4f58d689dd71dea67407b74405a3c43e797cb1 (diff) |
[media] rc: use rc_map_ prefix for all rc map tables
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc/keymaps/rc-imon-pad.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-imon-pad.c | 6 |
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 | ||
132 | static struct rc_keymap imon_pad_map = { | 132 | static 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 | ||
142 | static int __init init_rc_map_imon_pad(void) | 142 | static 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 | ||
147 | static void __exit exit_rc_map_imon_pad(void) | 147 | static 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 | ||
152 | module_init(init_rc_map_imon_pad) | 152 | module_init(init_rc_map_imon_pad) |