[PATCH] irqchip: THEAD_C901_ACLINT_SSWI should depend on ARCH_THEAD
Geert Uytterhoeven
geert+renesas at glider.be
Tue Nov 12 07:31:51 PST 2024
The T-HEAD ACLINT S-mode IPI Interrupt Controller is only present on
T-HEAD SoCs. Hence add a dependency on ARCH_THEAD, to prevent asking
the user about this driver when configuring a kernel without T-HEAD SoC
support.
Fixes: 25caea955cc95050 ("irqchip: Add T-HEAD C900 ACLINT SSWI driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
---
drivers/irqchip/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 28c19bde55206847..3f4cfcbecc5a4041 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -617,6 +617,7 @@ config THEAD_C900_ACLINT_SSWI
bool "THEAD C9XX ACLINT S-mode IPI Interrupt Controller"
depends on RISCV
depends on SMP
+ depends on ARCH_THEAD || COMPILE_TEST
select IRQ_DOMAIN_HIERARCHY
select GENERIC_IRQ_IPI_MUX
help
--
2.34.1
More information about the linux-riscv
mailing list