summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Masney <bmasney@redhat.com>2026-02-23 02:43:46 +0300
committerThomas Gleixner <tglx@kernel.org>2026-02-24 10:15:43 +0300
commit282f8b547d51d8a33b9230ba58e2324babe0a96a (patch)
treef9c6c630586f4e77de3faf712cb8549649346881
parent15f9b251fe404997eef1d7685877479364c4cfcb (diff)
downloadlinux-282f8b547d51d8a33b9230ba58e2324babe0a96a.tar.xz
irqchip/irq-pic32-evic: Define board_bind_eic_interrupt for !MIPS builds
The board_bind_eic_interrupt() pointer is MIPS specific. When compiling for other architectures it is undefined which breaks the build. Define it as a static variable when building for non MIPS architectures with COMPILE_TEST. Signed-off-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260222-irqchip-pic32-v1-3-37f50d1f14af@redhat.com
-rw-r--r--drivers/irqchip/irq-pic32-evic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-pic32-evic.c b/drivers/irqchip/irq-pic32-evic.c
index 1eeb0e63d670..afb700265451 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)