]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
ARM: mach-imx: tzic: Staticize *tzic_base
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 25 Mar 2013 14:03:45 +0000 (11:03 -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/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>
arch/arm/mach-imx/tzic.c

index 9721161f208f10a0d8e65bd9ad69d762e8b85228..8183178d5aa334cdd3c8a0368fefdcdcf2b705e6 100644 (file)
@@ -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