diff options
Diffstat (limited to 'drivers/media/rc/keymaps/rc-em-terratec.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-em-terratec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-em-terratec.c b/drivers/media/rc/keymaps/rc-em-terratec.c index 4d0ad8ca41a2..269d4299da34 100644 --- a/drivers/media/rc/keymaps/rc-em-terratec.c +++ b/drivers/media/rc/keymaps/rc-em-terratec.c | |||
@@ -43,7 +43,7 @@ static struct rc_map_table em_terratec[] = { | |||
43 | { 0x40, KEY_ZOOM }, | 43 | { 0x40, KEY_ZOOM }, |
44 | }; | 44 | }; |
45 | 45 | ||
46 | static struct rc_keymap em_terratec_map = { | 46 | static struct rc_map_list em_terratec_map = { |
47 | .map = { | 47 | .map = { |
48 | .scan = em_terratec, | 48 | .scan = em_terratec, |
49 | .size = ARRAY_SIZE(em_terratec), | 49 | .size = ARRAY_SIZE(em_terratec), |
@@ -54,12 +54,12 @@ static struct rc_keymap em_terratec_map = { | |||
54 | 54 | ||
55 | static int __init init_rc_map_em_terratec(void) | 55 | static int __init init_rc_map_em_terratec(void) |
56 | { | 56 | { |
57 | return ir_register_map(&em_terratec_map); | 57 | return rc_map_register(&em_terratec_map); |
58 | } | 58 | } |
59 | 59 | ||
60 | static void __exit exit_rc_map_em_terratec(void) | 60 | static void __exit exit_rc_map_em_terratec(void) |
61 | { | 61 | { |
62 | ir_unregister_map(&em_terratec_map); | 62 | rc_map_unregister(&em_terratec_map); |
63 | } | 63 | } |
64 | 64 | ||
65 | module_init(init_rc_map_em_terratec) | 65 | module_init(init_rc_map_em_terratec) |