From: Il Han Date: Thu, 5 Apr 2012 14:59:36 +0000 (-0700) Subject: ARM: EXYNOS: fix ISO C90 warning X-Git-Tag: upstream/snapshot3+hdmi~7745^2~2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1b1994e165652d89986e95faa9cf22331375b3a;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ARM: EXYNOS: fix ISO C90 warning ISO C90 forbids mixed declarations and code. Fix it. Signed-off-by: Il Han Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index e6cc50e..8614aab 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c @@ -583,10 +583,11 @@ core_initcall(exynos_core_init); #ifdef CONFIG_CACHE_L2X0 static int __init exynos4_l2x0_cache_init(void) { + int ret; + if (soc_is_exynos5250()) return 0; - int ret; ret = l2x0_of_init(L2_AUX_VAL, L2_AUX_MASK); if (!ret) { l2x0_regs_phys = virt_to_phys(&l2x0_saved_regs);