OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aa5106
)
ARM: EXYNOS: fix ISO C90 warning
author
Il Han
<corone.il.han@gmail.com>
Thu, 5 Apr 2012 14:59:36 +0000
(07:59 -0700)
committer
Kukjin Kim
<kgene.kim@samsung.com>
Thu, 5 Apr 2012 14:59:36 +0000
(07:59 -0700)
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>
arch/arm/mach-exynos/common.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-exynos/common.c
b/arch/arm/mach-exynos/common.c
index
e6cc50e
..
8614aab
100644
(file)
--- 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);