]> asedeno.scripts.mit.edu Git - linux.git/commit
irqchip/gic: Mark gic_init_physaddr() static
authorBaoyou Xie <baoyou.xie@linaro.org>
Wed, 7 Sep 2016 11:26:45 +0000 (19:26 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 12 Sep 2016 18:46:28 +0000 (19:46 +0100)
commit89c59cca48f04ede7e63944418af1794a8e31da6
treeb17514c8c048703e2eb125039917bbe3fb4310b5
parent39a342b25252f34d1dbe758b2b99bd055ff3b885
irqchip/gic: Mark gic_init_physaddr() static

We get 1 warning when building kernel with W=1:
drivers/irqchip/irq-gic.c:917:13: warning: no previous prototype for 'gic_init_physaddr' [-Wmissing-prototypes]

In fact, this function is only used in the file in which it is
declared and don't need a declaration, but can be made static.
so this patch marks this function with 'static'.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic.c