diff options
Diffstat (limited to 'drivers/media/rc/keymaps/rc-twinhan1027.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-twinhan1027.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-twinhan1027.c b/drivers/media/rc/keymaps/rc-twinhan1027.c index 67cc6e0b326b..8bf8df64b081 100644 --- a/drivers/media/rc/keymaps/rc-twinhan1027.c +++ b/drivers/media/rc/keymaps/rc-twinhan1027.c | |||
@@ -61,7 +61,7 @@ static struct rc_map_table twinhan_vp1027[] = { | |||
61 | { 0x5f, KEY_BLUE }, | 61 | { 0x5f, KEY_BLUE }, |
62 | }; | 62 | }; |
63 | 63 | ||
64 | static struct rc_keymap twinhan_vp1027_map = { | 64 | static struct rc_map_list twinhan_vp1027_map = { |
65 | .map = { | 65 | .map = { |
66 | .scan = twinhan_vp1027, | 66 | .scan = twinhan_vp1027, |
67 | .size = ARRAY_SIZE(twinhan_vp1027), | 67 | .size = ARRAY_SIZE(twinhan_vp1027), |
@@ -72,12 +72,12 @@ static struct rc_keymap twinhan_vp1027_map = { | |||
72 | 72 | ||
73 | static int __init init_rc_map_twinhan_vp1027(void) | 73 | static int __init init_rc_map_twinhan_vp1027(void) |
74 | { | 74 | { |
75 | return ir_register_map(&twinhan_vp1027_map); | 75 | return rc_map_register(&twinhan_vp1027_map); |
76 | } | 76 | } |
77 | 77 | ||
78 | static void __exit exit_rc_map_twinhan_vp1027(void) | 78 | static void __exit exit_rc_map_twinhan_vp1027(void) |
79 | { | 79 | { |
80 | ir_unregister_map(&twinhan_vp1027_map); | 80 | rc_map_unregister(&twinhan_vp1027_map); |
81 | } | 81 | } |
82 | 82 | ||
83 | module_init(init_rc_map_twinhan_vp1027) | 83 | module_init(init_rc_map_twinhan_vp1027) |