diff options
Diffstat (limited to 'drivers/media/rc/keymaps/rc-flydvb.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-flydvb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-flydvb.c b/drivers/media/rc/keymaps/rc-flydvb.c index ef90a05a16f2..aea2f4acf7d8 100644 --- a/drivers/media/rc/keymaps/rc-flydvb.c +++ b/drivers/media/rc/keymaps/rc-flydvb.c | |||
@@ -51,7 +51,7 @@ static struct rc_map_table flydvb[] = { | |||
51 | { 0x0e, KEY_NEXT }, /* End >>| */ | 51 | { 0x0e, KEY_NEXT }, /* End >>| */ |
52 | }; | 52 | }; |
53 | 53 | ||
54 | static struct rc_keymap flydvb_map = { | 54 | static struct rc_map_list flydvb_map = { |
55 | .map = { | 55 | .map = { |
56 | .scan = flydvb, | 56 | .scan = flydvb, |
57 | .size = ARRAY_SIZE(flydvb), | 57 | .size = ARRAY_SIZE(flydvb), |
@@ -62,12 +62,12 @@ static struct rc_keymap flydvb_map = { | |||
62 | 62 | ||
63 | static int __init init_rc_map_flydvb(void) | 63 | static int __init init_rc_map_flydvb(void) |
64 | { | 64 | { |
65 | return ir_register_map(&flydvb_map); | 65 | return rc_map_register(&flydvb_map); |
66 | } | 66 | } |
67 | 67 | ||
68 | static void __exit exit_rc_map_flydvb(void) | 68 | static void __exit exit_rc_map_flydvb(void) |
69 | { | 69 | { |
70 | ir_unregister_map(&flydvb_map); | 70 | rc_map_unregister(&flydvb_map); |
71 | } | 71 | } |
72 | 72 | ||
73 | module_init(init_rc_map_flydvb) | 73 | module_init(init_rc_map_flydvb) |