summaryrefslogtreecommitdiffstats
path: root/drivers/media/IR/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2010-04-02 08:05:46 +0200
committerMauro Carvalho Chehab2010-05-19 17:56:49 +0200
commit6686fa6917caaaaf3d595df6accedb87607517c9 (patch)
tree718a1711608b4d8fe6ec7acb1a40bfd965ce4413 /drivers/media/IR/Kconfig
parentV4L/DVB: ir-core: Add support for RC map code register (diff)
downloadkernel-qcow2-linux-6686fa6917caaaaf3d595df6accedb87607517c9.tar.gz
kernel-qcow2-linux-6686fa6917caaaaf3d595df6accedb87607517c9.tar.xz
kernel-qcow2-linux-6686fa6917caaaaf3d595df6accedb87607517c9.zip
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/Kconfig')
-rw-r--r--drivers/media/IR/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/IR/Kconfig b/drivers/media/IR/Kconfig
index de410d46ae26..0c557b8cc932 100644
--- a/drivers/media/IR/Kconfig
+++ b/drivers/media/IR/Kconfig
@@ -8,6 +8,8 @@ config VIDEO_IR
depends on IR_CORE
default IR_CORE
+source "drivers/media/IR/keymaps/Kconfig"
+
config IR_NEC_DECODER
tristate "Enable IR raw decoder for NEC protocol"
depends on IR_CORE