[media] rc: use rc_map_ prefix for all rc map tables

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Mauro Carvalho Chehab
2010-11-17 15:56:53 -03:00
parent 2f4f58d689
commit d100e659b6
89 changed files with 280 additions and 280 deletions

View File

@@ -52,7 +52,7 @@ static struct rc_map_table pv951[] = {
{ 0x1c, KEY_MEDIA }, /* PC/TV */
};
static struct rc_keymap pv951_map = {
static struct rc_map_list pv951_map = {
.map = {
.scan = pv951,
.size = ARRAY_SIZE(pv951),
@@ -63,12 +63,12 @@ static struct rc_keymap pv951_map = {
static int __init init_rc_map_pv951(void)
{
return ir_register_map(&pv951_map);
return rc_map_register(&pv951_map);
}
static void __exit exit_rc_map_pv951(void)
{
ir_unregister_map(&pv951_map);
rc_map_unregister(&pv951_map);
}
module_init(init_rc_map_pv951)