From: Arnd Bergmann Date: Wed, 23 Jul 2014 21:05:49 +0000 (+0200) Subject: ARM: mvebu: fix build without platforms selected X-Git-Tag: omap-for-v3.17/fixes-against-rc2~122^2~8^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce800342c80704e5efa4d6440f1c04c83a044499;p=pandora-kernel.git ARM: mvebu: fix build without platforms selected When building a multiplatform kernel that enables 'ARCH_MVEBU' but none of the individual options under it, we get this link error: arch/arm/mach-mvebu/built-in.o: In function `mvebu_armada375_smp_wa_init': :(.text+0x190): undefined reference to `mvebu_setup_boot_addr_wa' The best solution seems to be to ensure that in this configuration, we don't actually build any of the mvebu code. Signed-off-by: Arnd Bergmann Link: https://lkml.kernel.org/r/7339332.ZE2mWIdyDh@wuerfel Signed-off-by: Jason Cooper --- Reading git-diff-tree failed