irqchip/mips-gic: Make local symbols static
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 14 Jul 2020 14:22:45 +0000 (22:22 +0800)
committerMarc Zyngier <maz@kernel.org>
Mon, 27 Jul 2020 07:55:02 +0000 (08:55 +0100)
commitb0e453ffdd194f9632ca88783b0e5d582b088679
tree28e021c28ef90543eea315b1b4b16a7c92ac873a
parent45e9504f109b84986ba9d25a273a5d5bd3f3e9d9
irqchip/mips-gic: Make local symbols static

The sparse tool complains as follows:

drivers/irqchip/irq-mips-gic.c:49:1: warning:
 symbol '__pcpu_scope_pcpu_masks' was not declared. Should it be static?
drivers/irqchip/irq-mips-gic.c:620:6: warning:
 symbol 'gic_ipi_domain_free' was not declared. Should it be static?
drivers/irqchip/irq-mips-gic.c:634:5: warning:
 symbol 'gic_ipi_domain_match' was not declared. Should it be static?

Those symbols are not used outside of irq-mips-gic.c, so marks
them static.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200714142245.16124-1-weiyongjun1@huawei.com
drivers/irqchip/irq-mips-gic.c