[tip: irq/drivers] irqchip/irq-pic32-evic: Allow driver to be compiled with COMPILE_TEST

tip-bot2 for Brian Masney posted 1 patch 1 month, 3 weeks ago
arch/mips/pic32/Kconfig | 1 -
drivers/irqchip/Kconfig | 5 ++++-
2 files changed, 4 insertions(+), 2 deletions(-)
[tip: irq/drivers] irqchip/irq-pic32-evic: Allow driver to be compiled with COMPILE_TEST
Posted by tip-bot2 for Brian Masney 1 month, 3 weeks ago
The following commit has been merged into the irq/drivers branch of tip:

Commit-ID:     4b52df1b4e1d9cf4cb5a8e1b5287d1e3d1a6aa0c
Gitweb:        https://git.kernel.org/tip/4b52df1b4e1d9cf4cb5a8e1b5287d1e3d1a6aa0c
Author:        Brian Masney <bmasney@redhat.com>
AuthorDate:    Sun, 22 Feb 2026 18:43:48 -05:00
Committer:     Thomas Gleixner <tglx@kernel.org>
CommitterDate: Tue, 24 Feb 2026 08:15:44 +01:00

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 <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 | 1 -
 drivers/irqchip/Kconfig | 5 ++++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/mips/pic32/Kconfig b/arch/mips/pic32/Kconfig
index bb6ab1f..cd14a07 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 f07b00d..dc26eff 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