summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/avic.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-03-25 13:20:40 +0100
committerShawn Guo <shawn.guo@linaro.org>2013-04-01 10:17:51 +0200
commitae00ac76faf51dcb9f9a8cda341ae4e6829314e6 (patch)
treef3eef9578b1b558efaecd0b1b518d5baddd6d62a /arch/arm/mach-imx/avic.c
parentARM: mach-imx: tzic: Staticize *tzic_base (diff)
downloadlinux-ae00ac76faf51dcb9f9a8cda341ae4e6829314e6.tar.xz
linux-ae00ac76faf51dcb9f9a8cda341ae4e6829314e6.zip
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];