Skip to content

Commit 90e921d

Browse files
arndbMarc Zyngier
authored andcommitted
irqchip/mips-gic: Mark gic_irq_domain_free() static
This function is only used locally and should be static to avoid a warning: drivers/irqchip/irq-mips-gic.c:560:6: error: no previous prototype for 'gic_irq_domain_free' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Serge Semin <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 9bdd26b commit 90e921d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/irq-mips-gic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ static int gic_irq_domain_alloc(struct irq_domain *d, unsigned int virq,
557557
return gic_irq_domain_map(d, virq, hwirq);
558558
}
559559

560-
void gic_irq_domain_free(struct irq_domain *d, unsigned int virq,
560+
static void gic_irq_domain_free(struct irq_domain *d, unsigned int virq,
561561
unsigned int nr_irqs)
562562
{
563563
}

0 commit comments

Comments
 (0)