From: Uwe Kleine-König Date: Tue, 22 Nov 2011 09:07:26 +0000 (+0100) Subject: ARM: imx/mm-imx3: conditionally compile i.MX31 and i.MX35 code X-Git-Tag: v3.2-rc4~7^2~6^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=87514fced7c347a7cdd8a7a346d935a168428ff7;hp=87514fced7c347a7cdd8a7a346d935a168428ff7 ARM: imx/mm-imx3: conditionally compile i.MX31 and i.MX35 code This fixes building a kernel for only one of the two SOCs. Without this patch an i.MX31 only build fails with: arch/arm/mach-imx/built-in.o: In function `imx35_init_early': mach-bug.c:(.init.text+0x2c): undefined reference to `mxc_iomux_v3_init' arch/arm/mach-imx/built-in.o: In function `imx35_soc_init': mach-bug.c:(.init.text+0xe4): undefined reference to `mx35_revision' Signed-off-by: Uwe Kleine-König Signed-off-by: Sascha Hauer ---