diff options
Diffstat (limited to 'drivers/media/rc/keymaps/rc-iodata-bctv7e.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-iodata-bctv7e.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-iodata-bctv7e.c b/drivers/media/rc/keymaps/rc-iodata-bctv7e.c index 5e5263f2380d..1f59e163f75d 100644 --- a/drivers/media/rc/keymaps/rc-iodata-bctv7e.c +++ b/drivers/media/rc/keymaps/rc-iodata-bctv7e.c | |||
@@ -62,7 +62,7 @@ static struct rc_map_table iodata_bctv7e[] = { | |||
62 | { 0x01, KEY_NEXT }, /* skip >| */ | 62 | { 0x01, KEY_NEXT }, /* skip >| */ |
63 | }; | 63 | }; |
64 | 64 | ||
65 | static struct rc_keymap iodata_bctv7e_map = { | 65 | static struct rc_map_list iodata_bctv7e_map = { |
66 | .map = { | 66 | .map = { |
67 | .scan = iodata_bctv7e, | 67 | .scan = iodata_bctv7e, |
68 | .size = ARRAY_SIZE(iodata_bctv7e), | 68 | .size = ARRAY_SIZE(iodata_bctv7e), |
@@ -73,12 +73,12 @@ static struct rc_keymap iodata_bctv7e_map = { | |||
73 | 73 | ||
74 | static int __init init_rc_map_iodata_bctv7e(void) | 74 | static int __init init_rc_map_iodata_bctv7e(void) |
75 | { | 75 | { |
76 | return ir_register_map(&iodata_bctv7e_map); | 76 | return rc_map_register(&iodata_bctv7e_map); |
77 | } | 77 | } |
78 | 78 | ||
79 | static void __exit exit_rc_map_iodata_bctv7e(void) | 79 | static void __exit exit_rc_map_iodata_bctv7e(void) |
80 | { | 80 | { |
81 | ir_unregister_map(&iodata_bctv7e_map); | 81 | rc_map_unregister(&iodata_bctv7e_map); |
82 | } | 82 | } |
83 | 83 | ||
84 | module_init(init_rc_map_iodata_bctv7e) | 84 | module_init(init_rc_map_iodata_bctv7e) |