summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorVincent Stehlé <vincent.stehle@freescale.com>2013-07-10 13:45:46 +0400
committerShawn Guo <shawn.guo@linaro.org>2013-08-16 09:11:23 +0400
commit10eff77074dd3557aac75d55badad973a451e2e6 (patch)
tree2a294ea92d03475fbbc6ba8a6006f84c8da48add /arch/arm/mach-imx
parent3da66bfb74428e9bea8c79f795f9d7749a04a154 (diff)
downloadlinux-10eff77074dd3557aac75d55badad973a451e2e6.tar.xz
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> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Russell King <linux@arm.linux.org.uk> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r--arch/arm/mach-imx/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/system.c b/arch/arm/mach-imx/system.c
index e5592cab1f6a..64ff37ea72b1 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)
}
#ifdef CONFIG_CACHE_L2X0
-static void __init imx_init_l2cache(void)
+void __init imx_init_l2cache(void)
{
void __iomem *l2x0_base;
struct device_node *np;