Commit 9fed9ccb authored by Jason Yan's avatar Jason Yan Committed by Marc Zyngier

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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200417074046.46771-1-yanaijie@huawei.com
parent 0a66d6f9
...@@ -66,7 +66,7 @@ struct mvebu_icu_irq_data { ...@@ -66,7 +66,7 @@ struct mvebu_icu_irq_data {
unsigned int type; 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, static void mvebu_icu_init(struct mvebu_icu *icu,
struct mvebu_icu_msi_data *msi_data, struct mvebu_icu_msi_data *msi_data,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment