Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] irqchip/irq-bcm7038-l1: make bcm7038_l1_of_init() static
@ 2020-04-17  7:40 Jason Yan
  2020-04-17 10:26 ` Sergei Shtylyov
  0 siblings, 1 reply; 5+ messages in thread
From: Jason Yan @ 2020-04-17  7:40 UTC (permalink / raw)
  To: f.fainelli, tglx, jason, maz, justinpopo6,
	bcm-kernel-feedback-list, linux-mips, linux-kernel
  Cc: Jason Yan, Hulk Robot

Fix the following sparse warning:

drivers/irqchip/irq-bcm7038-l1.c:419:12: warning: symbol
'bcm7038_l1_of_init' 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-bcm7038-l1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-bcm7038-l1.c b/drivers/irqchip/irq-bcm7038-l1.c
index eb9bce93cd05..fd7c537fb42a 100644
--- a/drivers/irqchip/irq-bcm7038-l1.c
+++ b/drivers/irqchip/irq-bcm7038-l1.c
@@ -416,7 +416,7 @@ static const struct irq_domain_ops bcm7038_l1_domain_ops = {
 	.map			= bcm7038_l1_map,
 };
 
-int __init bcm7038_l1_of_init(struct device_node *dn,
+static int __init bcm7038_l1_of_init(struct device_node *dn,
 			      struct device_node *parent)
 {
 	struct bcm7038_l1_chip *intc;
-- 
2.21.1


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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-17  7:40 [PATCH] irqchip/irq-bcm7038-l1: make bcm7038_l1_of_init() static Jason Yan
2020-04-17 10:26 ` Sergei Shtylyov
2020-04-17 10:56   ` Jason Yan
2020-04-17 11:07     ` Marc Zyngier
2020-04-17 11:10       ` Jason Yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox