summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-07-06 09:12:59 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-06 09:12:59 -0300
commitc455f5c85ab79d065d09915e73c643f4cfa0eb16 (patch)
tree16fd56a90dc30edf37b9a61376a0dd3d16707cea /drivers/media/rc
parentcd5534be6bc681d6a5ca62b3b6066ff8515e1aac (diff)
[media] Kconfig: Split the core support options from the driver ones
Better arrange the remote controller driver items to happen after the core support, on their proper menus, and making clerarer what is media core options and what is media driver options. Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc')
-rw-r--r--drivers/media/rc/Kconfig11
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig
index d2655f103fa..2478b06a768 100644
--- a/drivers/media/rc/Kconfig
+++ b/drivers/media/rc/Kconfig
@@ -4,6 +4,14 @@ config RC_CORE
depends on INPUT
default y
+source "drivers/media/rc/keymaps/Kconfig"
+
+menuconfig RC_DECODERS
+ bool "Remote controller decoders"
+ depends on RC_CORE
+ default y
+
+if RC_DECODERS
config LIRC
tristate "LIRC interface driver"
depends on RC_CORE
@@ -15,8 +23,6 @@ config LIRC
LIRC daemon handles protocol decoding for IR reception and
encoding for IR transmitting (aka "blasting").
-source "drivers/media/rc/keymaps/Kconfig"
-
config IR_NEC_DECODER
tristate "Enable IR raw decoder for the NEC protocol"
depends on RC_CORE
@@ -99,6 +105,7 @@ config IR_MCE_KBD_DECODER
Enable this option if you have a Microsoft Remote Keyboard for
Windows Media Center Edition, which you would like to use with
a raw IR receiver in your system.
+endif #RC_DECODERS
menuconfig RC_DEVICES
bool "Remote Controller devices"