Skip to content

Commit

Permalink
ARM: EXYNOS: fix ISO C90 warning
Browse files Browse the repository at this point in the history
ISO C90 forbids mixed declarations and code.
Fix it.

Signed-off-by: Il Han <corone.il.han@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Il Han authored and Kukjin Kim committed Apr 5, 2012
1 parent 6aa5106 commit e1b1994
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/mach-exynos/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e1b1994

Please sign in to comment.