summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-pxa
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2009-03-26 21:04:10 +0800
committerEric Miao <eric.miao@marvell.com>2009-03-26 21:30:11 +0800
commit707b2c247c6c3e8976f94fcf9ab25c85502352d5 (patch)
tree7ac57d5a6dee8b00647aed12aaf64d8da4a4f27c /arch/arm/plat-pxa
parent5fa82eb8ff06cd3ac4d64c6875922ae1dfa003c5 (diff)
downloadtalos-obmc-linux-707b2c247c6c3e8976f94fcf9ab25c85502352d5.tar.gz
talos-obmc-linux-707b2c247c6c3e8976f94fcf9ab25c85502352d5.zip
[ARM] pxa: build arch/arm/plat-pxa/mfp.c only when PXA3xx or ARCH_MMP defined
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>
Diffstat (limited to 'arch/arm/plat-pxa')
-rw-r--r--arch/arm/plat-pxa/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/plat-pxa/Makefile b/arch/arm/plat-pxa/Makefile
index 4be37235f57b..8f2c4c7fbd48 100644
--- a/arch/arm/plat-pxa/Makefile
+++ b/arch/arm/plat-pxa/Makefile
@@ -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
OpenPOWER on IntegriCloud