[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:
@@ -59,7 +59,7 @@ static struct rc_map_table norwood[] = {
|
||||
{ 0x65, KEY_POWER }, /* Computer power */
|
||||
};
|
||||
|
||||
static struct rc_keymap norwood_map = {
|
||||
static struct rc_map_list norwood_map = {
|
||||
.map = {
|
||||
.scan = norwood,
|
||||
.size = ARRAY_SIZE(norwood),
|
||||
@@ -70,12 +70,12 @@ static struct rc_keymap norwood_map = {
|
||||
|
||||
static int __init init_rc_map_norwood(void)
|
||||
{
|
||||
return ir_register_map(&norwood_map);
|
||||
return rc_map_register(&norwood_map);
|
||||
}
|
||||
|
||||
static void __exit exit_rc_map_norwood(void)
|
||||
{
|
||||
ir_unregister_map(&norwood_map);
|
||||
rc_map_unregister(&norwood_map);
|
||||
}
|
||||
|
||||
module_init(init_rc_map_norwood)
|
||||
|
Reference in New Issue
Block a user