]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
[ARM] mmp: fix build failure due to IRQ_PMU depends on ARCH_PXA
authorJonathan Cameron <jic23@cam.ac.uk>
Mon, 7 Jun 2010 17:49:19 +0000 (18:49 +0100)
committerEric Miao <eric.y.miao@gmail.com>
Sun, 13 Jun 2010 16:45:26 +0000 (00:45 +0800)
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 <jic23@cam.ac.uk>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/plat-pxa/Makefile

index 6187edfbcb777a13a11eb5eea273abb4901b5c7d..a17cc0c6a6b0117f1a590f3d773bf10c69e2581a 100644 (file)
@@ -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