[PATCH -next] irqchip: ixp4xx: ixp4xx_of_init_irq() can be static
Yang Yingliang
yangyingliang at huawei.com
Wed May 12 22:04:01 PDT 2021
ixp4xx_of_init_irq() only used within this file. It should be static.
Signed-off-by: Yang Yingliang <yangyingliang at 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
More information about the linux-arm-kernel
mailing list