]> Git Repo - linux.git/commitdiff
ARM: mvebu: fix build breaks from multi-platform conversion
authorRob Herring <[email protected]>
Thu, 27 Sep 2012 15:10:12 +0000 (10:10 -0500)
committerArnd Bergmann <[email protected]>
Fri, 28 Sep 2012 20:27:07 +0000 (22:27 +0200)
Moving ARCH_MVEBU for multi-platform support caused several breakages in
recently added addr-map and pinctrl support for mvebu. This adds the
necessary selects and include paths to fix the build.

Signed-off-by: Rob Herring <[email protected]>
Cc: Thomas Petazzoni <[email protected]>
Cc: Gregory CLEMENT <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Andrew Lunn <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
arch/arm/mach-mvebu/Kconfig
arch/arm/mach-mvebu/Makefile
arch/arm/plat-orion/Makefile

index 26a817d81a70b7d12dcaf10c3043364b7d129220..416d46ef7ebd3f3a477225327a708e5dd339a126 100644 (file)
@@ -6,6 +6,8 @@ config ARCH_MVEBU
        select GENERIC_IRQ_CHIP
        select IRQ_DOMAIN
        select MULTI_IRQ_HANDLER
+       select PINCTRL
+       select PLAT_ORION
        select SPARSE_IRQ
 
 if ARCH_MVEBU
index cbe5664430638e948e4246f78c59200302321136..57f996b6aa0e36a3beb0481d39973e25d927aa54 100644 (file)
@@ -1,4 +1,5 @@
-ccflags-$(ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
+ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
+       -I$(srctree)/arch/arm/plat-orion/include
 
 obj-y += system-controller.o
 obj-$(CONFIG_MACH_ARMADA_370_XP) += armada-370-xp.o irq-armada-370-xp.o addr-map.o
index 1251e5bd41c56c9ac8ed50b3e57b3a6e032fcef1..a82cecb849485002c57123abaf89f1d33290fea5 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Makefile for the linux kernel.
 #
+ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
 
 obj-y                             += addr-map.o
 
This page took 0.057636 seconds and 4 git commands to generate.