[tip: irq/urgent] irqchip/irq-mvebu-icu: Make legacy_bindings static

From: tip-bot2 for Jason Yan
Date: Fri Apr 17 2020 - 05:56:56 EST


The following commit has been merged into the irq/urgent branch of tip:

Commit-ID: 9fed9ccb16de9b18ba843d2df57312c9b8260f96
Gitweb: https://git.kernel.org/tip/9fed9ccb16de9b18ba843d2df57312c9b8260f96
Author: Jason Yan <yanaijie@xxxxxxxxxx>
AuthorDate: Fri, 17 Apr 2020 15:40:46 +08:00
Committer: Marc Zyngier <maz@xxxxxxxxxx>
CommitterDate: Fri, 17 Apr 2020 08:59:29 +01:00

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@xxxxxxxxxx>
Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>
Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20200417074046.46771-1-yanaijie@xxxxxxxxxx
---
drivers/irqchip/irq-mvebu-icu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-mvebu-icu.c b/drivers/irqchip/irq-mvebu-icu.c
index 547045d..91adf77 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,