]> git.baikalelectronics.ru Git - kernel.git/commitdiff
irqchip/irq-mvebu-icu: Make legacy_bindings static
authorJason Yan <yanaijie@huawei.com>
Fri, 17 Apr 2020 07:40:46 +0000 (15:40 +0800)
committerMarc Zyngier <maz@kernel.org>
Fri, 17 Apr 2020 07:59:29 +0000 (08:59 +0100)
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
drivers/irqchip/irq-mvebu-icu.c

index 547045d89c4bddcc0d113785fab37c42dd19ec8f..91adf771f1859737157af823d231669e99b7f97b 100644 (file)
@@ -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,