From: Santosh Shilimkar Date: Fri, 6 Jul 2012 09:25:42 +0000 (+0530) Subject: ARM: OMAP: sdrc: Fix the build break for OMAP4 only builds X-Git-Tag: omap-cleanup-part2-for-v3.6^0 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb584511c4664573097ece7df0de06ad00b713a2;p=pandora-kernel.git ARM: OMAP: sdrc: Fix the build break for OMAP4 only builds OMAP4 only build breaks with below error arch/arm/mach-omap2/sdrc.c:135: error: redefinition of 'omap2_sdrc_init' arch/arm/plat-omap/include/plat/sdrc.h:130: note: previous definition of 'omap2_sdrc_init' was here make[1]: *** [arch/arm/mach-omap2/sdrc.o] Error 1 Fix the same by using newly introduced CONFIG_SOC_HAS_OMAP2_SDRC marco. Cc: Tony Lindgren Signed-off-by: Santosh Shilimkar Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed