aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-lme2510.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-11-17 13:56:53 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 05:16:52 -0500
commitd100e659b61a735c3343b3d82c1c009b04072cdd (patch)
treed80eedc6a9a51787b4fd2307977b9886a316f122 /drivers/media/rc/keymaps/rc-lme2510.c
parent2f4f58d689dd71dea67407b74405a3c43e797cb1 (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-lme2510.c')
-rw-r--r--drivers/media/rc/keymaps/rc-lme2510.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-lme2510.c b/drivers/media/rc/keymaps/rc-lme2510.c
index eb2d39698ef0..875cd81477c7 100644
--- a/drivers/media/rc/keymaps/rc-lme2510.c
+++ b/drivers/media/rc/keymaps/rc-lme2510.c
@@ -42,7 +42,7 @@ static struct rc_map_table lme2510_rc[] = {
42 42
43}; 43};
44 44
45static struct rc_keymap lme2510_map = { 45static struct rc_map_list lme2510_map = {
46 .map = { 46 .map = {
47 .scan = lme2510_rc, 47 .scan = lme2510_rc,
48 .size = ARRAY_SIZE(lme2510_rc), 48 .size = ARRAY_SIZE(lme2510_rc),
@@ -53,12 +53,12 @@ static struct rc_keymap lme2510_map = {
53 53
54static int __init init_rc_lme2510_map(void) 54static int __init init_rc_lme2510_map(void)
55{ 55{
56 return ir_register_map(&lme2510_map); 56 return rc_map_register(&lme2510_map);
57} 57}
58 58
59static void __exit exit_rc_lme2510_map(void) 59static void __exit exit_rc_lme2510_map(void)
60{ 60{
61 ir_unregister_map(&lme2510_map); 61 rc_map_unregister(&lme2510_map);
62} 62}
63 63
64module_init(init_rc_lme2510_map) 64module_init(init_rc_lme2510_map)