linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] irqchip: ixp4xx: ixp4xx_of_init_irq() can be static
@ 2021-05-13  5:04 Yang Yingliang
  0 siblings, 0 replies; only message in thread
From: Yang Yingliang @ 2021-05-13  5:04 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel; +Cc: linusw

ixp4xx_of_init_irq() only used within this file. It should be static.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
 drivers/irqchip/irq-ixp4xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-ixp4xx.c b/drivers/irqchip/irq-ixp4xx.c
index 37e0749215c7..09c4dfd1ad01 100644
--- a/drivers/irqchip/irq-ixp4xx.c
+++ b/drivers/irqchip/irq-ixp4xx.c
@@ -365,7 +365,7 @@ void __init ixp4xx_irq_init(resource_size_t irqbase,
 EXPORT_SYMBOL_GPL(ixp4xx_irq_init);
 
 #ifdef CONFIG_OF
-int __init ixp4xx_of_init_irq(struct device_node *np,
+static int __init ixp4xx_of_init_irq(struct device_node *np,
 			      struct device_node *parent)
 {
 	struct ixp4xx_irq *ixi = &ixirq;
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-13  5:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13  5:04 [PATCH -next] irqchip: ixp4xx: ixp4xx_of_init_irq() can be static Yang Yingliang

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).