diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-02-26 21:50:22 +0100 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-02-26 21:50:22 +0100 |
commit | 4f506daf0e6c094d2f28253d4044e9adc9461142 (patch) | |
tree | ae16b7f261fefeb3e2022469e74715bea0da6557 /arch/arm/mach-s3c24xx/Makefile | |
parent | ARM: S3C24XX: use SAMSUNG_WAKEMASK for s3c2416 (diff) | |
download | linux-4f506daf0e6c094d2f28253d4044e9adc9461142.tar.xz linux-4f506daf0e6c094d2f28253d4044e9adc9461142.zip |
ARM: S3C24XX: fix building without PM_SLEEP
We get lots of link errors based on the assumption that
any s3c24xx kernel would enable CONFIG_PM_SLEEP if it
enables CONFIG_PM. This tries to clean that up.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/mach-s3c24xx/Makefile')
-rw-r--r-- | arch/arm/mach-s3c24xx/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c24xx/Makefile b/arch/arm/mach-s3c24xx/Makefile index b40a22fe082a..05920c8a5764 100644 --- a/arch/arm/mach-s3c24xx/Makefile +++ b/arch/arm/mach-s3c24xx/Makefile @@ -32,7 +32,8 @@ obj-$(CONFIG_CPU_S3C2443) += s3c2443.o # PM -obj-$(CONFIG_PM) += pm.o irq-pm.o sleep.o +obj-$(CONFIG_PM) += pm.o +obj-$(CONFIG_PM_SLEEP) += irq-pm.o sleep.o # common code |