aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-flyvideo.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/keymaps/rc-flyvideo.c')
-rw-r--r--drivers/media/rc/keymaps/rc-flyvideo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-flyvideo.c b/drivers/media/rc/keymaps/rc-flyvideo.c
index 20a133325e6e..5bbe68371756 100644
--- a/drivers/media/rc/keymaps/rc-flyvideo.c
+++ b/drivers/media/rc/keymaps/rc-flyvideo.c
@@ -44,7 +44,7 @@ static struct rc_map_table flyvideo[] = {
44 { 0x0a, KEY_ANGLE }, /* no label, may be used as the PAUSE button */ 44 { 0x0a, KEY_ANGLE }, /* no label, may be used as the PAUSE button */
45}; 45};
46 46
47static struct rc_keymap flyvideo_map = { 47static struct rc_map_list flyvideo_map = {
48 .map = { 48 .map = {
49 .scan = flyvideo, 49 .scan = flyvideo,
50 .size = ARRAY_SIZE(flyvideo), 50 .size = ARRAY_SIZE(flyvideo),
@@ -55,12 +55,12 @@ static struct rc_keymap flyvideo_map = {
55 55
56static int __init init_rc_map_flyvideo(void) 56static int __init init_rc_map_flyvideo(void)
57{ 57{
58 return ir_register_map(&flyvideo_map); 58 return rc_map_register(&flyvideo_map);
59} 59}
60 60
61static void __exit exit_rc_map_flyvideo(void) 61static void __exit exit_rc_map_flyvideo(void)
62{ 62{
63 ir_unregister_map(&flyvideo_map); 63 rc_map_unregister(&flyvideo_map);
64} 64}
65 65
66module_init(init_rc_map_flyvideo) 66module_init(init_rc_map_flyvideo)