From: Jonathan Cameron Date: Mon, 7 Jun 2010 17:49:19 +0000 (+0100) Subject: [ARM] mmp: fix build failure due to IRQ_PMU depends on ARCH_PXA X-Git-Tag: v2.6.35-rc4~1^2~4^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=cdb4acc0568f4f6e10e778f0c2cd04fcd4786c09;p=~emulex%2Finfiniband.git [ARM] mmp: fix build failure due to IRQ_PMU depends on ARCH_PXA PMU is not tested and enabled on MMP architecture at this moment, the device IRQ number, IRQ_PMU depends on ARCH_PXA. Build PMU only for ARCH_PXA. Signed-off-by: Jonathan Cameron Signed-off-by: Eric Miao --- 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