summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/avic.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-03-25 09:20:40 -0300
committerShawn Guo <shawn.guo@linaro.org>2013-04-01 16:17:51 +0800
commitae00ac76faf51dcb9f9a8cda341ae4e6829314e6 (patch)
treef3eef9578b1b558efaecd0b1b518d5baddd6d62a /arch/arm/mach-imx/avic.c
parent516e89d7d5e5d321a8e0543cfb7f440f9942ce53 (diff)
ARM: mach-imx: avic: Staticize *avic_base
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>
Diffstat (limited to 'arch/arm/mach-imx/avic.c')
-rw-r--r--arch/arm/mach-imx/avic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/avic.c b/arch/arm/mach-imx/avic.c
index 0eff23ed92b9..9c3e014705b1 100644
--- a/arch/arm/mach-imx/avic.c
+++ b/arch/arm/mach-imx/avic.c
@@ -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];