Pārlūkot izejas kodu

powerpc: Move 8xxx GPIO Kconfig under the platform menu

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>
Kumar Gala 16 gadi atpakaļ
vecāks
revīzija
782f04fc0c
2 mainītis faili ar 9 papildinājumiem un 9 dzēšanām
  1. 9 0
      arch/powerpc/platforms/Kconfig
  2. 0 9
      arch/powerpc/sysdev/Kconfig

+ 9 - 0
arch/powerpc/platforms/Kconfig

@@ -293,4 +293,13 @@ config OF_RTC
 
 
 source "arch/powerpc/sysdev/bestcomm/Kconfig"
 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
 endmenu

+ 0 - 9
arch/powerpc/sysdev/Kconfig

@@ -7,15 +7,6 @@ config PPC4xx_PCI_EXPRESS
 	depends on PCI && 4xx
 	depends on PCI && 4xx
 	default n
 	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
 config PPC_MSI_BITMAP
 	bool
 	bool
 	depends on PCI_MSI
 	depends on PCI_MSI