OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
516e89d
)
ARM: mach-imx: avic: Staticize *avic_base
author
Fabio Estevam
<fabio.estevam@freescale.com>
Mon, 25 Mar 2013 12:20:40 +0000
(09:20 -0300)
committer
Shawn 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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/avic.c
b/arch/arm/mach-imx/avic.c
index
0eff23e
..
9c3e014
100644
(file)
--- 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];