Patchwork powerpc: Move 8xxx GPIO Kconfig under the platform menu

login
register
mail settings
Submitter Kumar Gala
Date Sept. 24, 2008, 4:38 a.m.
Message ID <1222231125-24632-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/1230/
State Accepted, archived
Commit 782f04fc0c2af3c1e92c9d561926a2056b1c72e8
Headers show

Comments

Kumar Gala - Sept. 24, 2008, 4:38 a.m.
The initial patch had the option at the top level which wasn't
quite right.  Moving under the platform options is a bit better.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 arch/powerpc/platforms/Kconfig |    9 +++++++++
 arch/powerpc/sysdev/Kconfig    |    9 ---------
 2 files changed, 9 insertions(+), 9 deletions(-)
Peter Korsgaard - Sept. 24, 2008, 10:34 a.m.
>>>>> "Kumar" == Kumar Gala <galak@kernel.crashing.org> writes:

 Kumar> The initial patch had the option at the top level which wasn't
 Kumar> quite right.  Moving under the platform options is a bit better.

 Kumar> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

Acked-by: Peter Korsgaard <jacmet@sunsite.dk>

Patch

diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index 4c900ef..9578c45 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -293,4 +293,13 @@  config OF_RTC
 
 source "arch/powerpc/sysdev/bestcomm/Kconfig"
 
+config MPC8xxx_GPIO
+	bool "MPC8xxx GPIO support"
+	depends on PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || PPC_85xx || PPC_86xx
+	select GENERIC_GPIO
+	select ARCH_REQUIRE_GPIOLIB
+	help
+	  Say Y here if you're going to use hardware that connects to the
+	  MPC831x/834x/837x/8572/8610 GPIOs.
+
 endmenu
diff --git a/arch/powerpc/sysdev/Kconfig b/arch/powerpc/sysdev/Kconfig
index d0e7bb0..3965828 100644
--- a/arch/powerpc/sysdev/Kconfig
+++ b/arch/powerpc/sysdev/Kconfig
@@ -7,15 +7,6 @@  config PPC4xx_PCI_EXPRESS
 	depends on PCI && 4xx
 	default n
 
-config MPC8xxx_GPIO
-	bool "MPC8xxx GPIO support"
-	depends on PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || PPC_85xx || PPC_86xx
-	select GENERIC_GPIO
-	select ARCH_REQUIRE_GPIOLIB
-	help
-	  Say Y here if you're going to use hardware that connects to the
-	  MPC831x/834x/837x/8572/8610 GPIOs.
-
 config PPC_MSI_BITMAP
 	bool
 	depends on PCI_MSI