]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: imx: fix imx_init_l2cache storage class
authorVincent Stehlé <vincent.stehle@freescale.com>
Wed, 10 Jul 2013 09:45:46 +0000 (11:45 +0200)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:53:43 +0000 (09:53 +0800)
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>
arch/arm/mach-imx/system.c

index 6fbe5563c50fc5bd12fb486b71f8cb5fa348bcad..635b2357501f5f8993c8d17deebb7ab0f29e5b1b 100644 (file)
@@ -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;