Skip to content

Commit 8f37492

Browse files
JasonYanHwMarc Zyngier
authored andcommitted
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]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 9fed9cc commit 8f37492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/irq-bcm7038-l1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ static const struct irq_domain_ops bcm7038_l1_domain_ops = {
416416
.map = bcm7038_l1_map,
417417
};
418418

419-
int __init bcm7038_l1_of_init(struct device_node *dn,
419+
static int __init bcm7038_l1_of_init(struct device_node *dn,
420420
struct device_node *parent)
421421
{
422422
struct bcm7038_l1_chip *intc;

0 commit comments

Comments
 (0)