aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-msi-digivox-ii.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-msi-digivox-ii.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-msi-digivox-ii.c')
-rw-r--r--drivers/media/rc/keymaps/rc-msi-digivox-ii.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-msi-digivox-ii.c b/drivers/media/rc/keymaps/rc-msi-digivox-ii.c
index 4ad89b79a3e8..7b9a01b6e4cf 100644
--- a/drivers/media/rc/keymaps/rc-msi-digivox-ii.c
+++ b/drivers/media/rc/keymaps/rc-msi-digivox-ii.c
@@ -41,7 +41,7 @@ static struct rc_map_table msi_digivox_ii[] = {
41 { 0x001f, KEY_VOLUMEDOWN }, 41 { 0x001f, KEY_VOLUMEDOWN },
42}; 42};
43 43
44static struct rc_keymap msi_digivox_ii_map = { 44static struct rc_map_list msi_digivox_ii_map = {
45 .map = { 45 .map = {
46 .scan = msi_digivox_ii, 46 .scan = msi_digivox_ii,
47 .size = ARRAY_SIZE(msi_digivox_ii), 47 .size = ARRAY_SIZE(msi_digivox_ii),
@@ -52,12 +52,12 @@ static struct rc_keymap msi_digivox_ii_map = {
52 52
53static int __init init_rc_map_msi_digivox_ii(void) 53static int __init init_rc_map_msi_digivox_ii(void)
54{ 54{
55 return ir_register_map(&msi_digivox_ii_map); 55 return rc_map_register(&msi_digivox_ii_map);
56} 56}
57 57
58static void __exit exit_rc_map_msi_digivox_ii(void) 58static void __exit exit_rc_map_msi_digivox_ii(void)
59{ 59{
60 ir_unregister_map(&msi_digivox_ii_map); 60 rc_map_unregister(&msi_digivox_ii_map);
61} 61}
62 62
63module_init(init_rc_map_msi_digivox_ii) 63module_init(init_rc_map_msi_digivox_ii)