Skip to content

Commit 61b0648

Browse files
geertuMarc Zyngier
authored andcommitted
irqchip/mst: MST_IRQ should depend on ARCH_MEDIATEK or ARCH_MSTARV7
The MStar interrupt controller is only found on MStar, SigmaStar, and Mediatek SoCs. Hence add dependencies on ARCH_MEDIATEK and ARCH_MSTARV7, to prevent asking the user about the MStar interrupt controller driver when configuring a kernel without support for MStar, SigmaStar, and Mediatek SoCs. Fixes: ad4c938 ("irqchip/irq-mst: Add MStar interrupt controller support") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Marc Zyngier <maz@kernel.org> Acked-by: Daniel Palmer <daniel@thingy.jp> Link: https://lore.kernel.org/r/20201014131703.18021-1-geert+renesas@glider.be
1 parent 151a535 commit 61b0648

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/irqchip/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,7 @@ config LOONGSON_PCH_MSI
583583

584584
config MST_IRQ
585585
bool "MStar Interrupt Controller"
586+
depends on ARCH_MEDIATEK || ARCH_MSTARV7 || COMPILE_TEST
586587
default ARCH_MEDIATEK
587588
select IRQ_DOMAIN
588589
select IRQ_DOMAIN_HIERARCHY

0 commit comments

Comments
 (0)