diff options
author | Vincent Stehlé <vincent.stehle@freescale.com> | 2013-07-10 05:45:46 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:00:38 -0400 |
commit | 1c74961c560dd7dbdf916a1c8323983f85c4231f (patch) | |
tree | 6f8a99dfda27ecb2c5d86f648cefb2c99489880f /arch | |
parent | 58e69b59bae77cc66545ec92a03a2f348b9fcd6f (diff) |
ARM: imx: fix imx_init_l2cache storage class
This fixes the following compilation error:
arch/arm/mach-imx/system.c:101:123: error: static declaration of
‘imx_init_l2cache’ follows non-static declaration
In file included from arch/arm/mach-imx/system.c:32:0:
arch/arm/mach-imx/common.h:165:13: note: previous declaration of
‘imx_init_l2cache’ was here
arch/arm/mach-imx/system.c:101:123: warning: ‘imx_init_l2cache’ defined but
not used [-Wunused-function]
Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/system.c b/arch/arm/mach-imx/system.c index 6fbe5563c50f..635b2357501f 100644 --- a/arch/arm/mach-imx/system.c +++ b/arch/arm/mach-imx/system.c | |||
@@ -98,7 +98,7 @@ void __init mxc_arch_reset_init_dt(void) | |||
98 | } | 98 | } |
99 | 99 | ||
100 | #ifdef CONFIG_CACHE_L2X0 | 100 | #ifdef CONFIG_CACHE_L2X0 |
101 | static void __init imx_init_l2cache(void) | 101 | void __init imx_init_l2cache(void) |
102 | { | 102 | { |
103 | void __iomem *l2x0_base; | 103 | void __iomem *l2x0_base; |
104 | struct device_node *np; | 104 | struct device_node *np; |