[PATCH 3/5] irqchip/irq-pic32-evic: define board_bind_eic_interrupt for !MIPS builds
From: Brian Masney
Date: Sun Feb 22 2026 - 18:46:55 EST
board_bind_eic_interrupt() is specific for the MIPS architecture. When
compiling on other architectures, let's go ahead and define it to be
static inside this driver so that this driver can be compiled on
architectures besides MIPS.
Signed-off-by: Brian Masney <bmasney@xxxxxxxxxx>
---
drivers/irqchip/irq-pic32-evic.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/irqchip/irq-pic32-evic.c b/drivers/irqchip/irq-pic32-evic.c
index 2db114beb00c451d9aa82253eabdd7f2c7ebe4c0..82561f098c377a0be49d3556d10172a58ba7d77b 100644
--- a/drivers/irqchip/irq-pic32-evic.c
+++ b/drivers/irqchip/irq-pic32-evic.c
@@ -48,6 +48,8 @@ asmlinkage void __weak plat_irq_dispatch(void)
hwirq = readl(evic_base + REG_INTSTAT) & 0xFF;
do_domain_IRQ(evic_irq_domain, hwirq);
}
+#else
+static void (*board_bind_eic_interrupt)(int irq, int regset);
#endif
static struct evic_chip_data *irqd_to_priv(struct irq_data *data)
--
2.53.0