irqchip/mst: MST_IRQ should depend on ARCH_MEDIATEK or ARCH_MSTARV7
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 14 Oct 2020 13:17:03 +0000 (15:17 +0200)
committerMarc Zyngier <maz@kernel.org>
Thu, 15 Oct 2020 21:28:35 +0000 (22:28 +0100)
commit61b0648d569aca932eab87a67f7ca0ffd3ea2b68
tree47782d1d9214bbc1039aa2bf4266d38edf4d5944
parent151a535171be6ff824a0a3875553ea38570f4c05
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: ad4c938c92af9130 ("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
drivers/irqchip/Kconfig