summaryrefslogtreecommitdiff
path: root/drivers/media/IR/rc-map.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-04-02 10:05:46 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 19:56:49 +0400
commit6686fa6917caaaaf3d595df6accedb87607517c9 (patch)
tree718a1711608b4d8fe6ec7acb1a40bfd965ce4413 /drivers/media/IR/rc-map.c
parent9ce50c1a5faad80cf6100ea4e8970416ee3b8b59 (diff)
downloadlinux-6686fa6917caaaaf3d595df6accedb87607517c9.tar.xz
V4L/DVB: Break Remote Controller keymaps into modules
The original Remote Controller approach were very messy: a big file, that were part of ir-common kernel module, containing 64 different RC keymap tables, used by the V4L/DVB drivers. Better to break each RC keymap table into a separate module, registering them into rc core on a process similar to the fs/nls tables. As an userspace program is now in charge of loading those tables, adds an option to allow the complete removal of those tables from kernelspace. Yet, on embedded devices like Set Top Boxes and TV sets, maybe the only available input device is the IR. So, we should keep allowing the usage of in-kernel tables, but a latter patch should change the default to 'n', after giving some time for distros to add the v4l-utils with the ir-keytable program, to allow the table load via userspace. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR/rc-map.c')
-rw-r--r--drivers/media/IR/rc-map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/IR/rc-map.c b/drivers/media/IR/rc-map.c
index aa269f5ef3fe..02c72f086fe0 100644
--- a/drivers/media/IR/rc-map.c
+++ b/drivers/media/IR/rc-map.c
@@ -64,7 +64,7 @@ int ir_register_map(struct rc_keymap *map)
spin_unlock(&rc_map_lock);
return 0;
}
-EXPORT_SYMBOL_GPL(ir_raw_handler_register);
+EXPORT_SYMBOL_GPL(ir_register_map);
void ir_unregister_map(struct rc_keymap *map)
{
@@ -72,4 +72,4 @@ void ir_unregister_map(struct rc_keymap *map)
list_del(&map->list);
spin_unlock(&rc_map_lock);
}
-EXPORT_SYMBOL_GPL(ir_raw_handler_unregister);
+EXPORT_SYMBOL_GPL(ir_unregister_map);