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-tt-1500.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-tt-1500.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-tt-1500.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-tt-1500.c b/drivers/media/rc/keymaps/rc-tt-1500.c index f3fe9f39d069..bb194879a794 100644 --- a/drivers/media/rc/keymaps/rc-tt-1500.c +++ b/drivers/media/rc/keymaps/rc-tt-1500.c | |||
@@ -56,7 +56,7 @@ static struct rc_map_table tt_1500[] = { | |||
56 | { 0x3f, KEY_FORWARD }, | 56 | { 0x3f, KEY_FORWARD }, |
57 | }; | 57 | }; |
58 | 58 | ||
59 | static struct rc_keymap tt_1500_map = { | 59 | static struct rc_map_list tt_1500_map = { |
60 | .map = { | 60 | .map = { |
61 | .scan = tt_1500, | 61 | .scan = tt_1500, |
62 | .size = ARRAY_SIZE(tt_1500), | 62 | .size = ARRAY_SIZE(tt_1500), |
@@ -67,12 +67,12 @@ static struct rc_keymap tt_1500_map = { | |||
67 | 67 | ||
68 | static int __init init_rc_map_tt_1500(void) | 68 | static int __init init_rc_map_tt_1500(void) |
69 | { | 69 | { |
70 | return ir_register_map(&tt_1500_map); | 70 | return rc_map_register(&tt_1500_map); |
71 | } | 71 | } |
72 | 72 | ||
73 | static void __exit exit_rc_map_tt_1500(void) | 73 | static void __exit exit_rc_map_tt_1500(void) |
74 | { | 74 | { |
75 | ir_unregister_map(&tt_1500_map); | 75 | rc_map_unregister(&tt_1500_map); |
76 | } | 76 | } |
77 | 77 | ||
78 | module_init(init_rc_map_tt_1500) | 78 | module_init(init_rc_map_tt_1500) |