ARM: OMAP4: Don't compile cm2xxx_3xxx.c for OMAP4 only builds.
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Sat, 28 Apr 2012 13:51:06 +0000 (19:21 +0530)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Tue, 8 May 2012 06:24:24 +0000 (11:54 +0530)
Since OMAP4 code base now makes use of OMAP4 specific PRCM functions,
cm2xxx_3xxx.c need not be compiled for OMAP4 only builds.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/Makefile

index 49f92bc..56ed62e 100644 (file)
@@ -86,10 +86,7 @@ obj-y                                        += prm_common.o
 obj-$(CONFIG_ARCH_OMAP2)               += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o
 obj-$(CONFIG_ARCH_OMAP3)               += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o \
                                           vc3xxx_data.o vp3xxx_data.o
-# XXX The presence of cm2xxx_3xxx.o on the line below is temporary and
-# will be removed once the OMAP4 part of the codebase is converted to
-# use OMAP4-specific PRCM functions.
-obj-$(CONFIG_ARCH_OMAP4)               += prcm.o cm2xxx_3xxx.o cminst44xx.o \
+obj-$(CONFIG_ARCH_OMAP4)               += prcm.o cminst44xx.o \
                                           cm44xx.o prcm_mpu44xx.o \
                                           prminst44xx.o vc44xx_data.o \
                                           vp44xx_data.o prm44xx.o