Skip to contentSkip to conversation

ARM: S3C24XX: let S3C2412_PM select S3C2412_PM_SLEEP

PATCH New Heiko Stübner 2 participants 2 messages Feb 5, 2013 – Feb 8, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: S3C24XX: let S3C2412_PM select S3C2412_PM_SLEEP

The code to enter sleep is used by both the s3c2412 and s3c2416 and was thus factored out into an extra config option.

But it seems it was forgotten to add the appropriate select to the s3c2412 pm option, resulting in breakage when only compiling s3c2412 support.

---
 arch/arm/mach-s3c24xx/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-s3c24xx/Kconfig +1 -0
index 5e17e1d..ac61bb7 100644
@@ -301,6 +301,7 @@ config S3C2412_DMA
 
 config S3C2412_PM
 	bool
+	select S3C2412_PM_SLEEP
 	help
 	  Internal config node to apply S3C2412 power management
 
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 ARM: S3C24XX: let S3C2412_PM select S3C2412_PM_SLEEP

Quoted 27 lines · Heiko St?bner

The code to enter sleep is used by both the s3c2412 and s3c2416 and was thus factored out into an extra config option.

But it seems it was forgotten to add the appropriate select to the s3c2412 pm option, resulting in breakage when only compiling s3c2412 support.

---
 arch/arm/mach-s3c24xx/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach- renamed from arch/arm/mach-s3c24xx/Kconfig +0 -0

s3c24xx/Kconfig
index 5e17e1d..ac61bb7 100644

arch/arm/mach-s3c24xx/Kconfig +1 -1
@@ -301,6 +301,7 @@ config S3C2412_DMA
 
 config S3C2412_PM
 	bool
+	select S3C2412_PM_SLEEP
 	help
 	  Internal config node to apply S3C2412 power management
 
--
Quoted 1 line

1.7.10.4

Looks good to me, applied.

Thanks

- Kukjin