aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-streamzap.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/keymaps/rc-streamzap.c')
-rw-r--r--drivers/media/rc/keymaps/rc-streamzap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-streamzap.c b/drivers/media/rc/keymaps/rc-streamzap.c
index 5a86a7151488..92cc10d2f9cd 100644
--- a/drivers/media/rc/keymaps/rc-streamzap.c
+++ b/drivers/media/rc/keymaps/rc-streamzap.c
@@ -56,7 +56,7 @@ static struct rc_map_table streamzap[] = {
56 56
57}; 57};
58 58
59static struct rc_keymap streamzap_map = { 59static struct rc_map_list streamzap_map = {
60 .map = { 60 .map = {
61 .scan = streamzap, 61 .scan = streamzap,
62 .size = ARRAY_SIZE(streamzap), 62 .size = ARRAY_SIZE(streamzap),
@@ -67,12 +67,12 @@ static struct rc_keymap streamzap_map = {
67 67
68static int __init init_rc_map_streamzap(void) 68static int __init init_rc_map_streamzap(void)
69{ 69{
70 return ir_register_map(&streamzap_map); 70 return rc_map_register(&streamzap_map);
71} 71}
72 72
73static void __exit exit_rc_map_streamzap(void) 73static void __exit exit_rc_map_streamzap(void)
74{ 74{
75 ir_unregister_map(&streamzap_map); 75 rc_map_unregister(&streamzap_map);
76} 76}
77 77
78module_init(init_rc_map_streamzap) 78module_init(init_rc_map_streamzap)