Skip to contentSkip to conversation

irqchip/ls-extirq: allow COMPILE_TEST builds

PATCH New Rosen Penev 1 participant 1 message May 9 irqchip drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 irqchip/ls-extirq: allow COMPILE_TEST builds

The Layerscape external IRQ driver uses generic OF, platform, and irqdomain interfaces. Make the symbol visible under COMPILE_TEST while preserving the existing Layerscape defaults.

Tested with:
make LLVM=1 ARCH=loongarch drivers/irqchip/irq-ls-extirq.o

Assisted-by Codex:GPT-5.5
---
 drivers/irqchip/Kconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/irqchip/Kconfig +3 -1
index d7dbfbc1035b..81b93b9dda2f 100644
@@ -468,7 +468,9 @@ config MVEBU_SEI
         bool
 
 config LS_EXTIRQ
-	def_bool y if SOC_LS1021A || ARCH_LAYERSCAPE
+	bool "Freescale Layerscape external IRQ support" if COMPILE_TEST
+	default y if SOC_LS1021A || ARCH_LAYERSCAPE
+	depends on SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
 	select MFD_SYSCON
 
 config LS_SCFG_MSI
Signature · 1 line
2.54.0