summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/mantis/mantis_input.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-11-17 15:56:53 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 08:16:52 -0200
commitd100e659b61a735c3343b3d82c1c009b04072cdd (patch)
treed80eedc6a9a51787b4fd2307977b9886a316f122 /drivers/media/dvb/mantis/mantis_input.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/dvb/mantis/mantis_input.c')
-rw-r--r--drivers/media/dvb/mantis/mantis_input.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/mantis/mantis_input.c b/drivers/media/dvb/mantis/mantis_input.c
index 572929a2cd6..db6d54d3fec 100644
--- a/drivers/media/dvb/mantis/mantis_input.c
+++ b/drivers/media/dvb/mantis/mantis_input.c
@@ -95,7 +95,7 @@ static struct rc_map_table mantis_ir_table[] = {
{ 0x00, KEY_BLUE },
};
-static struct rc_keymap ir_mantis_map = {
+static struct rc_map_list ir_mantis_map = {
.map = {
.scan = mantis_ir_table,
.size = ARRAY_SIZE(mantis_ir_table),
@@ -109,7 +109,7 @@ int mantis_input_init(struct mantis_pci *mantis)
struct rc_dev *dev;
int err;
- err = ir_register_map(&ir_mantis_map);
+ err = rc_map_register(&ir_mantis_map);
if (err)
goto out;
@@ -145,7 +145,7 @@ int mantis_input_init(struct mantis_pci *mantis)
out_dev:
rc_free_device(dev);
out_map:
- ir_unregister_map(&ir_mantis_map);
+ rc_map_unregister(&ir_mantis_map);
out:
return err;
}
@@ -153,7 +153,7 @@ out:
int mantis_exit(struct mantis_pci *mantis)
{
rc_unregister_device(mantis->rc);
- ir_unregister_map(&ir_mantis_map);
+ rc_map_unregister(&ir_mantis_map);
return 0;
}