mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-16 10:17:32 +00:00
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: 2cf68211664a ("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
This commit is contained in:
parent
fd31000d58
commit
1357d2a656
@ -228,7 +228,7 @@
|
||||
#define AIC_TMR_EL02_PHYS AIC_TMR_GUEST_PHYS
|
||||
#define AIC_TMR_EL02_VIRT AIC_TMR_GUEST_VIRT
|
||||
|
||||
DEFINE_STATIC_KEY_TRUE(use_fast_ipi);
|
||||
static DEFINE_STATIC_KEY_TRUE(use_fast_ipi);
|
||||
|
||||
struct aic_info {
|
||||
int version;
|
||||
|
Loading…
x
Reference in New Issue
Block a user