summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2412/Makefile
diff options
context:
space:
mode:
authorYauhen Kharuzhy <jekhor@gmail.com>2010-12-17 14:45:01 +0900
committerKukjin Kim <kgene.kim@samsung.com>2010-12-17 14:45:01 +0900
commit0f8f9c2b6c1326e99e51729a5d4aeb9c3ce164e1 (patch)
tree4c5af57ad46114bd43370821bef32879ebeade20 /arch/arm/mach-s3c2412/Makefile
parent258b78c364b9d3f730b5e3187fc500d472b5c237 (diff)
downloadblackbird-op-linux-0f8f9c2b6c1326e99e51729a5d4aeb9c3ce164e1.tar.gz
blackbird-op-linux-0f8f9c2b6c1326e99e51729a5d4aeb9c3ce164e1.zip
ARM S3C24XX: Fix compilation of PM code for S3C2416
S3C2416 PM code uses low-level sleep routines from S3C2412 code, but these routines are compiled only for S3C2412 SoC. Split S3C2412_PM to two parts: S3C2412_PM, S3C2412_PM_SLEEP and select last in S3C2416's Kconfig. Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c2412/Makefile')
-rw-r--r--arch/arm/mach-s3c2412/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2412/Makefile b/arch/arm/mach-s3c2412/Makefile
index 530ec46cbaea..6c48a91ea39e 100644
--- a/arch/arm/mach-s3c2412/Makefile
+++ b/arch/arm/mach-s3c2412/Makefile
@@ -14,7 +14,8 @@ obj-$(CONFIG_CPU_S3C2412) += irq.o
obj-$(CONFIG_CPU_S3C2412) += clock.o
obj-$(CONFIG_CPU_S3C2412) += gpio.o
obj-$(CONFIG_S3C2412_DMA) += dma.o
-obj-$(CONFIG_S3C2412_PM) += pm.o sleep.o
+obj-$(CONFIG_S3C2412_PM) += pm.o
+obj-$(CONFIG_S3C2412_PM_SLEEP) += sleep.o
obj-$(CONFIG_S3C2412_CPUFREQ) += cpu-freq.o
# Machine support
OpenPOWER on IntegriCloud