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
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
drivers/irqchip/Kconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index d7dbfbc1035b..81b93b9dda2f 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -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
--
2.54.0