]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
24XX: PM: Move pm.c to pm24xx.c and sleep.S to sleep24xx.S
authorJouni Hogander <jouni.hogander@nokia.com>
Fri, 16 May 2008 10:57:04 +0000 (13:57 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 20 May 2008 17:29:56 +0000 (10:29 -0700)
Rename filenames to prepare 34XX additions.
Compile omap2 code only if CONFIG_ARCH_OMAP2 is defined.

Signed-off-by: Jouni Hogander <jouni.hogander@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/pm24xx.c [moved from arch/arm/mach-omap2/pm.c with 100% similarity]
arch/arm/mach-omap2/sleep24xx.S [moved from arch/arm/mach-omap2/sleep.S with 100% similarity]

index 13d0043def82f6eb0d5023e495dc62a8615b2ce7..1199274d8e1a5e5b78b87e2fee7af990840bd22d 100644 (file)
@@ -12,7 +12,9 @@ obj-$(CONFIG_ARCH_OMAP2)              += sram24xx.o
 obj-$(CONFIG_ARCH_OMAP3)               += sram34xx.o
 
 # Power Management
-obj-$(CONFIG_PM) += pm.o sleep.o
+ifeq ($(CONFIG_ARCH_OMAP2),y)
+obj-$(CONFIG_PM) += pm24xx.o sleep24xx.o
+endif
 
 # Clock framework
 obj-$(CONFIG_ARCH_OMAP2)               += clock24xx.o