diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-03-25 18:03:45 +0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-04-01 12:17:51 +0400 |
commit | 516e89d7d5e5d321a8e0543cfb7f440f9942ce53 (patch) | |
tree | 594cfb20bfe8ef9bbee79cea3e13d3d7ca2d0aaf | |
parent | 41921c13c3d0434a8ea3466fa65d493816358787 (diff) | |
download | linux-516e89d7d5e5d321a8e0543cfb7f440f9942ce53.tar.xz |
ARM: mach-imx: tzic: Staticize *tzic_base
Fix the following sparse warning:
arch/arm/mach-imx/tzic.c:52:14: warning: symbol 'tzic_base' was not declared. Should it be static?
Also, remove the comment, as it does not apply for kernels newer than 3.2.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r-- | arch/arm/mach-imx/tzic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/tzic.c b/arch/arm/mach-imx/tzic.c index 9721161f208f..8183178d5aa3 100644 --- a/arch/arm/mach-imx/tzic.c +++ b/arch/arm/mach-imx/tzic.c @@ -49,7 +49,7 @@ #define TZIC_SWINT 0x0F00 /* Software Interrupt Rigger Register */ #define TZIC_ID0 0x0FD0 /* Indentification Register 0 */ -void __iomem *tzic_base; /* Used as irq controller base in entry-macro.S */ +static void __iomem *tzic_base; static struct irq_domain *domain; #define TZIC_NUM_IRQS 128 |