Message ID | 20210513050401.625106-1-yangyingliang@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [-next] irqchip: ixp4xx: ixp4xx_of_init_irq() can be static | expand |
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;
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(-)