diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-10-03 15:40:36 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-10-13 12:09:58 -0400 |
commit | 5c091193e4a12e88930a0bb3ed3632c51e926a76 (patch) | |
tree | 9d12c87f073bd86edc62718f2f1b35bf030de1bc | |
parent | 4e330bcf6b323fcff0e3224c5db77cbcca83a878 (diff) |
powerpc/QE: move QE_GPIO Kconfig symbol into the platforms/Kconfig
Specifying user-selectable option in the qe_lib/Kconfig was a bad idea
because the qe_lib/Kconfig is included into the top level Kconfig, and
thus the QE_GPIO option appears at the top level menu.
This patch effectively moves the QE_GPIO option under the platform menu
instead.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/platforms/Kconfig | 9 | ||||
-rw-r--r-- | arch/powerpc/sysdev/qe_lib/Kconfig | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig index 6cf517f5fba6..47e956c871fe 100644 --- a/arch/powerpc/platforms/Kconfig +++ b/arch/powerpc/platforms/Kconfig | |||
@@ -249,6 +249,15 @@ config QUICC_ENGINE | |||
249 | Selecting this option means that you wish to build a kernel | 249 | Selecting this option means that you wish to build a kernel |
250 | for a machine with a QE coprocessor. | 250 | for a machine with a QE coprocessor. |
251 | 251 | ||
252 | config QE_GPIO | ||
253 | bool "QE GPIO support" | ||
254 | depends on QUICC_ENGINE | ||
255 | select GENERIC_GPIO | ||
256 | select ARCH_REQUIRE_GPIOLIB | ||
257 | help | ||
258 | Say Y here if you're going to use hardware that connects to the | ||
259 | QE GPIOs. | ||
260 | |||
252 | config CPM2 | 261 | config CPM2 |
253 | bool "Enable support for the CPM2 (Communications Processor Module)" | 262 | bool "Enable support for the CPM2 (Communications Processor Module)" |
254 | depends on MPC85xx || 8260 | 263 | depends on MPC85xx || 8260 |
diff --git a/arch/powerpc/sysdev/qe_lib/Kconfig b/arch/powerpc/sysdev/qe_lib/Kconfig index 1ce546462be5..76ffbc48d4b9 100644 --- a/arch/powerpc/sysdev/qe_lib/Kconfig +++ b/arch/powerpc/sysdev/qe_lib/Kconfig | |||
@@ -24,12 +24,3 @@ config QE_USB | |||
24 | bool | 24 | bool |
25 | help | 25 | help |
26 | QE USB Host Controller support | 26 | QE USB Host Controller support |
27 | |||
28 | config QE_GPIO | ||
29 | bool "QE GPIO support" | ||
30 | depends on QUICC_ENGINE | ||
31 | select GENERIC_GPIO | ||
32 | select ARCH_REQUIRE_GPIOLIB | ||
33 | help | ||
34 | Say Y here if you're going to use hardware that connects to the | ||
35 | QE GPIOs. | ||