[PATCH] Move S3C2412_PM_SLEEP to common platform code

Heiko Stübner heiko at sntech.de
Tue Feb 28 16:34:16 EST 2012


S3C2412_PM_SLEEP is also used by the S3C2416, so move it out of the
if CPU_S3C2412 block to the common platform code to prevent warnings
when S3C2416_PM is selected but not CPU_S3C2412.

Signed-off-by: Heiko Stuebner <heiko at sntech.de>
---
this should probably be folded into the S3C2412 move patch

 arch/arm/mach-s3c24xx/Kconfig |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig
index 599e025..158958c 100644
--- a/arch/arm/mach-s3c24xx/Kconfig
+++ b/arch/arm/mach-s3c24xx/Kconfig
@@ -83,6 +83,12 @@ config CPU_S3C2443
 
 comment "S3C24XX base platform code"
 
+config S3C2412_PM_SLEEP
+	bool
+	help
+	  Internal config node to apply sleep for S3C2412 power management.
+	  Can be selected by another SoCs with similar sleep procedure.
+
 config S3C24XX_DMA
 	bool "S3C2410 DMA support"
 	depends on ARCH_S3C24XX
@@ -253,12 +259,6 @@ config S3C2412_PM
 	help
 	  Internal config node to apply S3C2412 power management
 
-config S3C2412_PM_SLEEP
-	bool
-	help
-	  Internal config node to apply sleep for S3C2412 power management.
-	  Can be selected by another SoCs with similar sleep procedure.
-
 comment "S3C2412 Boards"
 
 #
-- 
1.7.2.3




More information about the linux-arm-kernel mailing list