aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-hauppauge-new.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/keymaps/rc-hauppauge-new.c')
-rw-r--r--drivers/media/rc/keymaps/rc-hauppauge-new.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-hauppauge-new.c b/drivers/media/rc/keymaps/rc-hauppauge-new.c
index 239625785f68..bd11da46e56a 100644
--- a/drivers/media/rc/keymaps/rc-hauppauge-new.c
+++ b/drivers/media/rc/keymaps/rc-hauppauge-new.c
@@ -74,7 +74,7 @@ static struct rc_map_table hauppauge_new[] = {
74 { 0x3d, KEY_POWER }, /* system power (green button) */ 74 { 0x3d, KEY_POWER }, /* system power (green button) */
75}; 75};
76 76
77static struct rc_keymap hauppauge_new_map = { 77static struct rc_map_list hauppauge_new_map = {
78 .map = { 78 .map = {
79 .scan = hauppauge_new, 79 .scan = hauppauge_new,
80 .size = ARRAY_SIZE(hauppauge_new), 80 .size = ARRAY_SIZE(hauppauge_new),
@@ -85,12 +85,12 @@ static struct rc_keymap hauppauge_new_map = {
85 85
86static int __init init_rc_map_hauppauge_new(void) 86static int __init init_rc_map_hauppauge_new(void)
87{ 87{
88 return ir_register_map(&hauppauge_new_map); 88 return rc_map_register(&hauppauge_new_map);
89} 89}
90 90
91static void __exit exit_rc_map_hauppauge_new(void) 91static void __exit exit_rc_map_hauppauge_new(void)
92{ 92{
93 ir_unregister_map(&hauppauge_new_map); 93 rc_map_unregister(&hauppauge_new_map);
94} 94}
95 95
96module_init(init_rc_map_hauppauge_new) 96module_init(init_rc_map_hauppauge_new)