diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-11-17 13:56:53 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 05:16:52 -0500 |
commit | d100e659b61a735c3343b3d82c1c009b04072cdd (patch) | |
tree | d80eedc6a9a51787b4fd2307977b9886a316f122 /drivers/media/rc/keymaps/rc-avertv-303.c | |
parent | 2f4f58d689dd71dea67407b74405a3c43e797cb1 (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-avertv-303.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-avertv-303.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-avertv-303.c b/drivers/media/rc/keymaps/rc-avertv-303.c index 386ba5922046..32e94988dc94 100644 --- a/drivers/media/rc/keymaps/rc-avertv-303.c +++ b/drivers/media/rc/keymaps/rc-avertv-303.c | |||
@@ -59,7 +59,7 @@ static struct rc_map_table avertv_303[] = { | |||
59 | { 0x1b, KEY_UP }, | 59 | { 0x1b, KEY_UP }, |
60 | }; | 60 | }; |
61 | 61 | ||
62 | static struct rc_keymap avertv_303_map = { | 62 | static struct rc_map_list avertv_303_map = { |
63 | .map = { | 63 | .map = { |
64 | .scan = avertv_303, | 64 | .scan = avertv_303, |
65 | .size = ARRAY_SIZE(avertv_303), | 65 | .size = ARRAY_SIZE(avertv_303), |
@@ -70,12 +70,12 @@ static struct rc_keymap avertv_303_map = { | |||
70 | 70 | ||
71 | static int __init init_rc_map_avertv_303(void) | 71 | static int __init init_rc_map_avertv_303(void) |
72 | { | 72 | { |
73 | return ir_register_map(&avertv_303_map); | 73 | return rc_map_register(&avertv_303_map); |
74 | } | 74 | } |
75 | 75 | ||
76 | static void __exit exit_rc_map_avertv_303(void) | 76 | static void __exit exit_rc_map_avertv_303(void) |
77 | { | 77 | { |
78 | ir_unregister_map(&avertv_303_map); | 78 | rc_map_unregister(&avertv_303_map); |
79 | } | 79 | } |
80 | 80 | ||
81 | module_init(init_rc_map_avertv_303) | 81 | module_init(init_rc_map_avertv_303) |