Skip to content

Commit

Permalink
irqchip/irq-mvebu-icu: Make legacy_bindings static
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jason Yan authored and Marc Zyngier committed Apr 17, 2020
1 parent 0a66d6f commit 9fed9cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/irqchip/irq-mvebu-icu.c
Original file line number Diff line number Diff line change
@@ -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,

0 comments on commit 9fed9cc

Please sign in to comment.