]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/apple-aic: Make symbol 'use_fast_ipi' static
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 18 Jun 2022 07:28:24 +0000 (07:28 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 1 Jul 2022 13:26:13 +0000 (14:26 +0100)
commit6f1e5f67cefe7b1cab8bf70d1ec0a120be429579
treed652f9525bf0a527fe65d1e3c7ac71bce8f021be
parent1de5a9d09de95b3f7189fbd022b8e4120fbb2cdd
irqchip/apple-aic: Make symbol 'use_fast_ipi' static

The sparse tool complains as follows:

drivers/irqchip/irq-apple-aic.c:231:1: warning:
 symbol 'use_fast_ipi' was not declared. Should it be static?

This symbol is not used outside of irq-apple-aic.c, so marks it static.

Fixes: ea1d85c4060a ("irqchip/apple-aic: Add Fast IPI support")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220618072824.562350-1-weiyongjun1@huawei.com
drivers/irqchip/irq-apple-aic.c