]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
irqchip/irq-pic32-evic: Allow driver to be compiled with COMPILE_TEST
authorBrian Masney <bmasney@redhat.com>
Sun, 22 Feb 2026 23:43:48 +0000 (18:43 -0500)
committerThomas Gleixner <tglx@kernel.org>
Tue, 24 Feb 2026 07:15:44 +0000 (08:15 +0100)
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 <bmasney@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260222-irqchip-pic32-v1-5-37f50d1f14af@redhat.com
arch/mips/pic32/Kconfig
drivers/irqchip/Kconfig

index bb6ab1f3e80dcf35a1a681f7098330dbf1d5c3be..cd14a071e631ca91ded2864774f040555b5b2987 100644 (file)
@@ -20,7 +20,6 @@ config PIC32MZDA
        select LIBFDT
        select USE_OF
        select PINCTRL
-       select PIC32_EVIC
        help
          Support for the Microchip PIC32MZDA microcontroller.
 
index f07b00d7fef9078369a1dffb7ce414d37806d1c1..dc26effa5b364331d50d2d7bb823a11cac88ae4e 100644 (file)
@@ -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