]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: mach-imx: mm-imx3: Staticize imx3_init_l2x0()
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 25 Mar 2013 12:20:29 +0000 (09:20 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 1 Apr 2013 08:17:48 +0000 (16:17 +0800)
Fix the following sparse warning:

arch/arm/mach-imx/mm-imx3.c:85:13: warning: symbol 'imx3_init_l2x0' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/mm-imx3.c

index cefa047c4053f681b6932353218ef67d5633badd..e0e69a682174b59ce08e77d2eb11608b596fcf97 100644 (file)
@@ -82,7 +82,7 @@ static void __iomem *imx3_ioremap_caller(unsigned long phys_addr, size_t size,
        return __arm_ioremap_caller(phys_addr, size, mtype, caller);
 }
 
-void __init imx3_init_l2x0(void)
+static void __init imx3_init_l2x0(void)
 {
 #ifdef CONFIG_CACHE_L2X0
        void __iomem *l2x0_base;