aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/IR/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-04-02 02:05:46 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 11:56:49 -0400
commit6686fa6917caaaaf3d595df6accedb87607517c9 (patch)
tree718a1711608b4d8fe6ec7acb1a40bfd965ce4413 /drivers/media/IR/Kconfig
parent9ce50c1a5faad80cf6100ea4e8970416ee3b8b59 (diff)
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
8 depends on IR_CORE 8 depends on IR_CORE
9 default IR_CORE 9 default IR_CORE
10 10
11source "drivers/media/IR/keymaps/Kconfig"
12
11config IR_NEC_DECODER 13config IR_NEC_DECODER
12 tristate "Enable IR raw decoder for NEC protocol" 14 tristate "Enable IR raw decoder for NEC protocol"
13 depends on IR_CORE 15 depends on IR_CORE