From: Brian Masney Date: Sun, 22 Feb 2026 23:43:48 +0000 (-0500) Subject: irqchip/irq-pic32-evic: Allow driver to be compiled with COMPILE_TEST X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b52df1b4e1d9cf4cb5a8e1b5287d1e3d1a6aa0c;p=thirdparty%2Flinux.git irqchip/irq-pic32-evic: Allow driver to be compiled with COMPILE_TEST This driver currently only supports builds against a PIC32 target. To avoid future breakage in the future update Kconfig so that it can be built with COMPILE_TEST enabled. [ tglx: Drop the now pointless select in the pic32 Kconfig ] Signed-off-by: Brian Masney Signed-off-by: Thomas Gleixner Link: https://patch.msgid.link/20260222-irqchip-pic32-v1-5-37f50d1f14af@redhat.com --- diff --git a/arch/mips/pic32/Kconfig b/arch/mips/pic32/Kconfig index bb6ab1f3e80dc..cd14a071e631c 100644 --- a/arch/mips/pic32/Kconfig +++ b/arch/mips/pic32/Kconfig @@ -20,7 +20,6 @@ config PIC32MZDA select LIBFDT select USE_OF select PINCTRL - select PIC32_EVIC help Support for the Microchip PIC32MZDA microcontroller. diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index f07b00d7fef90..dc26effa5b364 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -252,9 +252,12 @@ config ORION_IRQCHIP select IRQ_DOMAIN config PIC32_EVIC - bool + def_bool MACH_PIC32 || COMPILE_TEST select GENERIC_IRQ_CHIP select IRQ_DOMAIN + help + Enable support for the interrupt controller on the Microchip PIC32 + family of platforms. config JCORE_AIC bool "J-Core integrated AIC" if COMPILE_TEST