diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-04-17 09:40:46 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-04-17 09:59:29 +0200 |
commit | 9fed9ccb16de9b18ba843d2df57312c9b8260f96 (patch) | |
tree | b47ed5676a8efe6b612a3d08ead4a56cba11d5bf /drivers | |
parent | irqchip/meson-gpio: Fix HARDIRQ-safe -> HARDIRQ-unsafe lock order (diff) | |
download | linux-9fed9ccb16de9b18ba843d2df57312c9b8260f96.tar.xz linux-9fed9ccb16de9b18ba843d2df57312c9b8260f96.zip |
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
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/irqchip/irq-mvebu-icu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-mvebu-icu.c b/drivers/irqchip/irq-mvebu-icu.c index 547045d89c4b..91adf771f185 100644 --- a/drivers/irqchip/irq-mvebu-icu.c +++ b/drivers/irqchip/irq-mvebu-icu.c @@ -66,7 +66,7 @@ struct mvebu_icu_irq_data { unsigned int type; }; -DEFINE_STATIC_KEY_FALSE(legacy_bindings); +static DEFINE_STATIC_KEY_FALSE(legacy_bindings); static void mvebu_icu_init(struct mvebu_icu *icu, struct mvebu_icu_msi_data *msi_data, |