linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] irqchip/irq-mvebu-icu: make legacy_bindings static
@ 2020-04-17  7:40 Jason Yan
  2020-04-17  9:56 ` [tip: irq/urgent] irqchip/irq-mvebu-icu: Make " tip-bot2 for Jason Yan
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Yan @ 2020-04-17  7:40 UTC (permalink / raw)
  To: jason, andrew, gregory.clement, sebastian.hesselbarth, tglx, maz,
	linux-arm-kernel, linux-kernel
  Cc: Jason Yan, Hulk Robot

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>
---
 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 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,
-- 
2.21.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-17  9:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-17  7:40 [PATCH] irqchip/irq-mvebu-icu: make legacy_bindings static Jason Yan
2020-04-17  9:56 ` [tip: irq/urgent] irqchip/irq-mvebu-icu: Make " tip-bot2 for Jason Yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).