Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

irqchip/irq-mvebu-icu: Make legacy_bindings static

Fix the following sparse warning:

drivers/irqchip/irq-mvebu-icu.c:69:1: warning: symbol 'legacy_bindings'
was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200417074046.46771-1-yanaijie@huawei.com

authored by

Jason Yan and committed by
Marc Zyngier
9fed9ccb 0a66d6f9

+1 -1
+1 -1
drivers/irqchip/irq-mvebu-icu.c
··· 66 66 unsigned int type; 67 67 }; 68 68 69 - DEFINE_STATIC_KEY_FALSE(legacy_bindings); 69 + static DEFINE_STATIC_KEY_FALSE(legacy_bindings); 70 70 71 71 static void mvebu_icu_init(struct mvebu_icu *icu, 72 72 struct mvebu_icu_msi_data *msi_data,