]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP2: Clean-up CONFIG_PM in Makefile
authorTony Lindgren <tony@atomide.com>
Thu, 5 Jun 2008 22:13:40 +0000 (15:13 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 5 Jun 2008 22:13:40 +0000 (15:13 -0700)
Clean-up CONFIG_PM in Makefile

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Makefile

index 50c66579c5e5ade8cabe2e7353cde994ff0b7362..5a572b01f7a0966317b949840ebf1c201354410b 100644 (file)
@@ -15,9 +15,8 @@ obj-$(CONFIG_ARCH_OMAP2430)           += sram243x.o
 obj-$(CONFIG_ARCH_OMAP3)               += sram34xx.o
 
 # Power Management
-obj-$(CONFIG_PM) += pm.o
-
 ifeq ($(CONFIG_PM),y)
+obj-y                                  += pm.o
 obj-$(CONFIG_ARCH_OMAP2)               += pm24xx.o
 obj-$(CONFIG_ARCH_OMAP2420)            += sleep242x.o
 obj-$(CONFIG_ARCH_OMAP2430)            += sleep243x.o