Skip to content

Commit e1b1994

Browse files
Il Hankgene
authored andcommitted
ARM: EXYNOS: fix ISO C90 warning
ISO C90 forbids mixed declarations and code. Fix it. Signed-off-by: Il Han <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
1 parent 6aa5106 commit e1b1994

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/arm/mach-exynos/common.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,10 +583,11 @@ core_initcall(exynos_core_init);
583583
#ifdef CONFIG_CACHE_L2X0
584584
static int __init exynos4_l2x0_cache_init(void)
585585
{
586+
int ret;
587+
586588
if (soc_is_exynos5250())
587589
return 0;
588590

589-
int ret;
590591
ret = l2x0_of_init(L2_AUX_VAL, L2_AUX_MASK);
591592
if (!ret) {
592593
l2x0_regs_phys = virt_to_phys(&l2x0_saved_regs);

0 commit comments

Comments
 (0)