OSDN Git Service

ARM: mach-imx: avic: Staticize *avic_base
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 25 Mar 2013 12:20:40 +0000 (09:20 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 1 Apr 2013 08:17:51 +0000 (16:17 +0800)
Fix the following sparse warning:

arch/arm/mach-imx/avic.c:54:14: warning: symbol 'avic_base' 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/avic.c

index 0eff23e..9c3e014 100644 (file)
@@ -51,7 +51,7 @@
 
 #define AVIC_NUM_IRQS 64
 
-void __iomem *avic_base;
+static void __iomem *avic_base;
 static struct irq_domain *domain;
 
 static u32 avic_saved_mask_reg[2];