diff options
Diffstat (limited to 'drivers/media/rc/keymaps/rc-pv951.c')
-rw-r--r-- | drivers/media/rc/keymaps/rc-pv951.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-pv951.c b/drivers/media/rc/keymaps/rc-pv951.c index d9c7e2f26add..83a418de12c6 100644 --- a/drivers/media/rc/keymaps/rc-pv951.c +++ b/drivers/media/rc/keymaps/rc-pv951.c | |||
@@ -52,7 +52,7 @@ static struct rc_map_table pv951[] = { | |||
52 | { 0x1c, KEY_MEDIA }, /* PC/TV */ | 52 | { 0x1c, KEY_MEDIA }, /* PC/TV */ |
53 | }; | 53 | }; |
54 | 54 | ||
55 | static struct rc_keymap pv951_map = { | 55 | static struct rc_map_list pv951_map = { |
56 | .map = { | 56 | .map = { |
57 | .scan = pv951, | 57 | .scan = pv951, |
58 | .size = ARRAY_SIZE(pv951), | 58 | .size = ARRAY_SIZE(pv951), |
@@ -63,12 +63,12 @@ static struct rc_keymap pv951_map = { | |||
63 | 63 | ||
64 | static int __init init_rc_map_pv951(void) | 64 | static int __init init_rc_map_pv951(void) |
65 | { | 65 | { |
66 | return ir_register_map(&pv951_map); | 66 | return rc_map_register(&pv951_map); |
67 | } | 67 | } |
68 | 68 | ||
69 | static void __exit exit_rc_map_pv951(void) | 69 | static void __exit exit_rc_map_pv951(void) |
70 | { | 70 | { |
71 | ir_unregister_map(&pv951_map); | 71 | rc_map_unregister(&pv951_map); |
72 | } | 72 | } |
73 | 73 | ||
74 | module_init(init_rc_map_pv951) | 74 | module_init(init_rc_map_pv951) |