aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.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-avermedia-m733a-rm-k6.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-avermedia-m733a-rm-k6.c')
-rw-r--r--drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.c b/drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.c
index 74f3a20ff72a..e694e6eac37e 100644
--- a/drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.c
+++ b/drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.c
@@ -69,7 +69,7 @@ static struct rc_map_table avermedia_m733a_rm_k6[] = {
69 { 0x041e, KEY_NEXT }, 69 { 0x041e, KEY_NEXT },
70}; 70};
71 71
72static struct rc_keymap avermedia_m733a_rm_k6_map = { 72static struct rc_map_list avermedia_m733a_rm_k6_map = {
73 .map = { 73 .map = {
74 .scan = avermedia_m733a_rm_k6, 74 .scan = avermedia_m733a_rm_k6,
75 .size = ARRAY_SIZE(avermedia_m733a_rm_k6), 75 .size = ARRAY_SIZE(avermedia_m733a_rm_k6),
@@ -80,12 +80,12 @@ static struct rc_keymap avermedia_m733a_rm_k6_map = {
80 80
81static int __init init_rc_map_avermedia_m733a_rm_k6(void) 81static int __init init_rc_map_avermedia_m733a_rm_k6(void)
82{ 82{
83 return ir_register_map(&avermedia_m733a_rm_k6_map); 83 return rc_map_register(&avermedia_m733a_rm_k6_map);
84} 84}
85 85
86static void __exit exit_rc_map_avermedia_m733a_rm_k6(void) 86static void __exit exit_rc_map_avermedia_m733a_rm_k6(void)
87{ 87{
88 ir_unregister_map(&avermedia_m733a_rm_k6_map); 88 rc_map_unregister(&avermedia_m733a_rm_k6_map);
89} 89}
90 90
91module_init(init_rc_map_avermedia_m733a_rm_k6) 91module_init(init_rc_map_avermedia_m733a_rm_k6)