]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] pxa: build arch/arm/plat-pxa/mfp.c only when PXA3xx or ARCH_MMP defined
authorEric Miao <eric.miao@marvell.com>
Thu, 26 Mar 2009 13:04:10 +0000 (21:04 +0800)
committerEric Miao <eric.miao@marvell.com>
Thu, 26 Mar 2009 13:30:11 +0000 (21:30 +0800)
arch/arm/plat-pxa/mfp.c is not intended to be use by PXA25x/PXA27x,
make it explicit here only for use by PXA3xx or ARCH_MMP.

Reported-by: Guennadi Liakhovestski <g.liakhovestski@gmx.de>
Reported-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
arch/arm/plat-pxa/Makefile

index 4be37235f57b55da8fc0cc282aadab18c05978a9..8f2c4c7fbd480ffc2318b4df7a6dc6c6cc710497 100644 (file)
@@ -2,6 +2,8 @@
 # Makefile for code common across different PXA processor families
 #
 
-obj-y  := dma.o mfp.o
+obj-y  := dma.o
 
 obj-$(CONFIG_GENERIC_GPIO)     += gpio.o
+obj-$(CONFIG_PXA3xx)           += mfp.o
+obj-$(CONFIG_ARCH_MMP)         += mfp.o