aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-05-28 07:17:47 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-05 17:21:28 -0400
commitb4c184e506a4cdb9b77bff4a1d39237581540b33 (patch)
tree41e83684bda91dbc63ce1022c6b69b87ed551fe8 /drivers/media/rc/Kconfig
parent31361fc4632f20e3a108f56b1a1a9c9bf2dfc07c (diff)
[media] media: reorganize the main Kconfig items
Change the main items to: <m> Multimedia support ---> [ ] Cameras/video grabbers support [ ] Analog TV support [ ] Digital TV support [ ] AM/FM radio receivers/transmitters support [ ] Remote Controller support This provides an interface that is clearer to end users that are compiling the Kernel, and will allow the building system to automatically unselect drivers for unused functions. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc/Kconfig')
-rw-r--r--drivers/media/rc/Kconfig29
1 files changed, 13 insertions, 16 deletions
diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig
index f97eeb870455..d2655f103faa 100644
--- a/drivers/media/rc/Kconfig
+++ b/drivers/media/rc/Kconfig
@@ -1,21 +1,12 @@
1menuconfig RC_CORE 1config RC_CORE
2 tristate "Remote Controller adapters" 2 tristate
3 depends on MEDIA_RC_SUPPORT
3 depends on INPUT 4 depends on INPUT
4 default INPUT 5 default y
5 ---help---
6 Enable support for Remote Controllers on Linux. This is
7 needed in order to support several video capture adapters,
8 standalone IR receivers/transmitters, and RF receivers.
9
10 Enable this option if you have a video capture board even
11 if you don't need IR, as otherwise, you may not be able to
12 compile the driver for your adapter.
13
14if RC_CORE
15 6
16config LIRC 7config LIRC
17 tristate 8 tristate "LIRC interface driver"
18 default y 9 depends on RC_CORE
19 10
20 ---help--- 11 ---help---
21 Enable this option to build the Linux Infrared Remote 12 Enable this option to build the Linux Infrared Remote
@@ -109,6 +100,12 @@ config IR_MCE_KBD_DECODER
109 Windows Media Center Edition, which you would like to use with 100 Windows Media Center Edition, which you would like to use with
110 a raw IR receiver in your system. 101 a raw IR receiver in your system.
111 102
103menuconfig RC_DEVICES
104 bool "Remote Controller devices"
105 depends on RC_CORE
106
107if RC_DEVICES
108
112config IR_LIRC_CODEC 109config IR_LIRC_CODEC
113 tristate "Enable IR to LIRC bridge" 110 tristate "Enable IR to LIRC bridge"
114 depends on RC_CORE 111 depends on RC_CORE
@@ -276,4 +273,4 @@ config IR_GPIO_CIR
276 To compile this driver as a module, choose M here: the module will 273 To compile this driver as a module, choose M here: the module will
277 be called gpio-ir-recv. 274 be called gpio-ir-recv.
278 275
279endif #RC_CORE 276endif #RC_DEVICES