irqchip/irq-bcm7038-l1: make bcm7038_l1_of_init() static
Subsystems (4)
PATCH v2 1/1 irqchip/irq-bcm7038-l1: make bcm7038_l1_of_init() static
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 <[email protected]>
Signed-off-by Jason Yan <[email protected]>
---
v1->v2: Reindent the second line of the function
drivers/irqchip/irq-bcm7038-l1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/irqchip/irq-bcm7038-l1.c +2 -2
@@ -416,8 +416,8 @@ static const struct irq_domain_ops bcm7038_l1_domain_ops = { .map = bcm7038_l1_map, }; -int __init bcm7038_l1_of_init (struct device_node *dn, -struct device_node *parent) +static int __init bcm7038_l1_of_init (struct device_node *dn, +struct device_node *parent) {struct bcm7038_l1_chip *intc;int idx, ret;
Signature · 1 line
2.21.1