Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10eff770 authored by Vincent Stehlé's avatar Vincent Stehlé Committed by Shawn Guo
Browse files

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: default avatarVincent Stehlé <vincent.stehle@freescale.com>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 3da66bfb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;