diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-06 08:12:59 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-06 08:12:59 -0400 |
commit | c455f5c85ab79d065d09915e73c643f4cfa0eb16 (patch) | |
tree | 16fd56a90dc30edf37b9a61376a0dd3d16707cea | |
parent | cd5534be6bc681d6a5ca62b3b6066ff8515e1aac (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>
-rw-r--r-- | drivers/media/Kconfig | 3 | ||||
-rw-r--r-- | drivers/media/rc/Kconfig | 11 |
2 files changed, 11 insertions, 3 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index 6d10ccb692a9..d941581ab921 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig | |||
@@ -59,7 +59,7 @@ config MEDIA_RADIO_SUPPORT | |||
59 | support radio reception. Disabling this option will | 59 | support radio reception. Disabling this option will |
60 | disable support for them. | 60 | disable support for them. |
61 | 61 | ||
62 | menuconfig MEDIA_RC_SUPPORT | 62 | config MEDIA_RC_SUPPORT |
63 | bool "Remote Controller support" | 63 | bool "Remote Controller support" |
64 | depends on INPUT | 64 | depends on INPUT |
65 | ---help--- | 65 | ---help--- |
@@ -138,6 +138,7 @@ config DVB_NET | |||
138 | You may want to disable the network support on embedded devices. If | 138 | You may want to disable the network support on embedded devices. If |
139 | unsure say Y. | 139 | unsure say Y. |
140 | 140 | ||
141 | comment "Media drivers" | ||
141 | source "drivers/media/common/Kconfig" | 142 | source "drivers/media/common/Kconfig" |
142 | source "drivers/media/rc/Kconfig" | 143 | source "drivers/media/rc/Kconfig" |
143 | 144 | ||
diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig index d2655f103faa..2478b06a768b 100644 --- a/drivers/media/rc/Kconfig +++ b/drivers/media/rc/Kconfig | |||
@@ -4,6 +4,14 @@ config RC_CORE | |||
4 | depends on INPUT | 4 | depends on INPUT |
5 | default y | 5 | default y |
6 | 6 | ||
7 | source "drivers/media/rc/keymaps/Kconfig" | ||
8 | |||
9 | menuconfig RC_DECODERS | ||
10 | bool "Remote controller decoders" | ||
11 | depends on RC_CORE | ||
12 | default y | ||
13 | |||
14 | if RC_DECODERS | ||
7 | config LIRC | 15 | config LIRC |
8 | tristate "LIRC interface driver" | 16 | tristate "LIRC interface driver" |
9 | depends on RC_CORE | 17 | depends on RC_CORE |
@@ -15,8 +23,6 @@ config LIRC | |||
15 | LIRC daemon handles protocol decoding for IR reception and | 23 | LIRC daemon handles protocol decoding for IR reception and |
16 | encoding for IR transmitting (aka "blasting"). | 24 | encoding for IR transmitting (aka "blasting"). |
17 | 25 | ||
18 | source "drivers/media/rc/keymaps/Kconfig" | ||
19 | |||
20 | config IR_NEC_DECODER | 26 | config IR_NEC_DECODER |
21 | tristate "Enable IR raw decoder for the NEC protocol" | 27 | tristate "Enable IR raw decoder for the NEC protocol" |
22 | depends on RC_CORE | 28 | depends on RC_CORE |
@@ -99,6 +105,7 @@ config IR_MCE_KBD_DECODER | |||
99 | Enable this option if you have a Microsoft Remote Keyboard for | 105 | Enable this option if you have a Microsoft Remote Keyboard for |
100 | Windows Media Center Edition, which you would like to use with | 106 | Windows Media Center Edition, which you would like to use with |
101 | a raw IR receiver in your system. | 107 | a raw IR receiver in your system. |
108 | endif #RC_DECODERS | ||
102 | 109 | ||
103 | menuconfig RC_DEVICES | 110 | menuconfig RC_DEVICES |
104 | bool "Remote Controller devices" | 111 | bool "Remote Controller devices" |