summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-pxa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-pxa/Makefile')
-rw-r--r--arch/arm/plat-pxa/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-pxa/Makefile b/arch/arm/plat-pxa/Makefile
index 6187edfbcb7..a17cc0c6a6b 100644
--- a/arch/arm/plat-pxa/Makefile
+++ b/arch/arm/plat-pxa/Makefile
@@ -2,8 +2,9 @@
# Makefile for code common across different PXA processor families
#
-obj-y := dma.o pmu.o
+obj-y := dma.o
+obj-$(CONFIG_ARCH_PXA) += pmu.o
obj-$(CONFIG_GENERIC_GPIO) += gpio.o
obj-$(CONFIG_PXA3xx) += mfp.o
obj-$(CONFIG_ARCH_MMP) += mfp.o