Re: [PATCH 2/3] irqchip: mips-gic: mark gic_irq_domain_free() static

From: Philippe Mathieu-Daudé
Date: Thu Aug 10 2023 - 10:52:45 EST


On 10/8/23 14:33, Arnd Bergmann wrote:
From: Arnd Bergmann <arnd@xxxxxxxx>

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 <arnd@xxxxxxxx>
---
drivers/irqchip/irq-mips-gic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>