ARM: S3C24XX: move common power-management code to mach-s3c24xx
authorHeiko Stuebner <heiko@sntech.de>
Sat, 12 May 2012 07:22:18 +0000 (16:22 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 12 May 2012 07:22:18 +0000 (16:22 +0900)
This is the basic power-management code used by all s3c24xx machines.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c24xx/Makefile
arch/arm/mach-s3c24xx/irq-pm.c [moved from arch/arm/plat-s3c24xx/irq-pm.c with 100% similarity]
arch/arm/mach-s3c24xx/pm.c [moved from arch/arm/plat-s3c24xx/pm.c with 100% similarity]
arch/arm/mach-s3c24xx/sleep.S [moved from arch/arm/plat-s3c24xx/sleep.S with 100% similarity]
arch/arm/plat-s3c24xx/Makefile

index b081db7..270a0b6 100644 (file)
@@ -35,6 +35,10 @@ obj-$(CONFIG_S3C2440_DMA)    += dma-s3c2440.o
 
 obj-$(CONFIG_CPU_S3C2443)      += s3c2443.o irq-s3c2443.o clock-s3c2443.o
 
+# PM
+
+obj-$(CONFIG_PM)               += pm.o irq-pm.o sleep.o
+
 # common code
 
 obj-$(CONFIG_S3C2443_COMMON)   += common-s3c2443.o
index 1e3126a..a07bbc9 100644 (file)
@@ -21,9 +21,6 @@ obj-$(CONFIG_CPU_FREQ_S3C24XX_DEBUGFS) += cpu-freq-debugfs.o
 
 # Architecture dependent builds
 
-obj-$(CONFIG_PM)               += pm.o
-obj-$(CONFIG_PM)               += irq-pm.o
-obj-$(CONFIG_PM)               += sleep.o
 obj-$(CONFIG_S3C2410_CLOCK)    += s3c2410-clock.o
 obj-$(CONFIG_S3C24XX_DMA)      += dma.o
 obj-$(CONFIG_S3C2410_IOTIMING) += s3c2410-iotiming.o