The Keystone IRQ controller driver uses generic platform, irqdomain,
regmap, and syscon interfaces. Allow building it with COMPILE_TEST so it
can get build coverage on non-Keystone platforms.
Tested with:
make LLVM=1 ARCH=loongarch drivers/irqchip/
Assisted-by: Codex:GPT-5.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
drivers/irqchip/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 5b379415a817..1dd3f2aeac97 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -404,7 +404,7 @@ config IRQ_CROSSBAR
config KEYSTONE_IRQ
tristate "Keystone 2 IRQ controller IP"
- depends on ARCH_KEYSTONE
+ depends on ARCH_KEYSTONE || COMPILE_TEST
help
Support for Texas Instruments Keystone 2 IRQ controller IP which
is part of the Keystone 2 IPC mechanism
--
2.54.0