Skip to contentSkip to conversation

irqchip/keystone: 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/keystone: allow COMPILE_TEST builds

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
---
 drivers/irqchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/Kconfig +1 -1
index 5b379415a817..1dd3f2aeac97 100644
@@ -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
Signature · 1 line
2.54.0