aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-avermedia-dvbt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/keymaps/rc-avermedia-dvbt.c')
-rw-r--r--drivers/media/rc/keymaps/rc-avermedia-dvbt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-avermedia-dvbt.c b/drivers/media/rc/keymaps/rc-avermedia-dvbt.c
index b4a1aa134360..3ddb41bc075e 100644
--- a/drivers/media/rc/keymaps/rc-avermedia-dvbt.c
+++ b/drivers/media/rc/keymaps/rc-avermedia-dvbt.c
@@ -52,7 +52,7 @@ static struct rc_map_table avermedia_dvbt[] = {
52 { 0x3e, KEY_VOLUMEUP }, /* 'volume +' */ 52 { 0x3e, KEY_VOLUMEUP }, /* 'volume +' */
53}; 53};
54 54
55static struct rc_keymap avermedia_dvbt_map = { 55static struct rc_map_list avermedia_dvbt_map = {
56 .map = { 56 .map = {
57 .scan = avermedia_dvbt, 57 .scan = avermedia_dvbt,
58 .size = ARRAY_SIZE(avermedia_dvbt), 58 .size = ARRAY_SIZE(avermedia_dvbt),
@@ -63,12 +63,12 @@ static struct rc_keymap avermedia_dvbt_map = {
63 63
64static int __init init_rc_map_avermedia_dvbt(void) 64static int __init init_rc_map_avermedia_dvbt(void)
65{ 65{
66 return ir_register_map(&avermedia_dvbt_map); 66 return rc_map_register(&avermedia_dvbt_map);
67} 67}
68 68
69static void __exit exit_rc_map_avermedia_dvbt(void) 69static void __exit exit_rc_map_avermedia_dvbt(void)
70{ 70{
71 ir_unregister_map(&avermedia_dvbt_map); 71 rc_map_unregister(&avermedia_dvbt_map);
72} 72}
73 73
74module_init(init_rc_map_avermedia_dvbt) 74module_init(init_rc_map_avermedia_dvbt)