aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-budget-ci-old.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/keymaps/rc-budget-ci-old.c')
-rw-r--r--drivers/media/rc/keymaps/rc-budget-ci-old.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/keymaps/rc-budget-ci-old.c b/drivers/media/rc/keymaps/rc-budget-ci-old.c
index e4827a6abf31..97fc3862f608 100644
--- a/drivers/media/rc/keymaps/rc-budget-ci-old.c
+++ b/drivers/media/rc/keymaps/rc-budget-ci-old.c
@@ -66,7 +66,7 @@ static struct rc_map_table budget_ci_old[] = {
66 { 0x3e, KEY_TUNER }, 66 { 0x3e, KEY_TUNER },
67}; 67};
68 68
69static struct rc_keymap budget_ci_old_map = { 69static struct rc_map_list budget_ci_old_map = {
70 .map = { 70 .map = {
71 .scan = budget_ci_old, 71 .scan = budget_ci_old,
72 .size = ARRAY_SIZE(budget_ci_old), 72 .size = ARRAY_SIZE(budget_ci_old),
@@ -77,12 +77,12 @@ static struct rc_keymap budget_ci_old_map = {
77 77
78static int __init init_rc_map_budget_ci_old(void) 78static int __init init_rc_map_budget_ci_old(void)
79{ 79{
80 return ir_register_map(&budget_ci_old_map); 80 return rc_map_register(&budget_ci_old_map);
81} 81}
82 82
83static void __exit exit_rc_map_budget_ci_old(void) 83static void __exit exit_rc_map_budget_ci_old(void)
84{ 84{
85 ir_unregister_map(&budget_ci_old_map); 85 rc_map_unregister(&budget_ci_old_map);
86} 86}
87 87
88module_init(init_rc_map_budget_ci_old) 88module_init(init_rc_map_budget_ci_old)