aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-gotview7135.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/keymaps/rc-gotview7135.c')
-rw-r--r--drivers/media/rc/keymaps/rc-gotview7135.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-gotview7135.c b/drivers/media/rc/keymaps/rc-gotview7135.c
index 54222caeff7c..a38bdde8c140 100644
--- a/drivers/media/rc/keymaps/rc-gotview7135.c
+++ b/drivers/media/rc/keymaps/rc-gotview7135.c
@@ -53,7 +53,7 @@ static struct rc_map_table gotview7135[] = {
53 { 0x38, KEY_F24 }, /* NORMAL TIMESHIFT */ 53 { 0x38, KEY_F24 }, /* NORMAL TIMESHIFT */
54}; 54};
55 55
56static struct rc_keymap gotview7135_map = { 56static struct rc_map_list gotview7135_map = {
57 .map = { 57 .map = {
58 .scan = gotview7135, 58 .scan = gotview7135,
59 .size = ARRAY_SIZE(gotview7135), 59 .size = ARRAY_SIZE(gotview7135),
@@ -64,12 +64,12 @@ static struct rc_keymap gotview7135_map = {
64 64
65static int __init init_rc_map_gotview7135(void) 65static int __init init_rc_map_gotview7135(void)
66{ 66{
67 return ir_register_map(&gotview7135_map); 67 return rc_map_register(&gotview7135_map);
68} 68}
69 69
70static void __exit exit_rc_map_gotview7135(void) 70static void __exit exit_rc_map_gotview7135(void)
71{ 71{
72 ir_unregister_map(&gotview7135_map); 72 rc_map_unregister(&gotview7135_map);
73} 73}
74 74
75module_init(init_rc_map_gotview7135) 75module_init(init_rc_map_gotview7135)