[tip: irq/urgent] irqchip/mst: MST_IRQ should depend on ARCH_MEDIATEK or ARCH_MSTARV7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following commit has been merged into the irq/urgent branch of tip:

Commit-ID:     61b0648d569aca932eab87a67f7ca0ffd3ea2b68
Gitweb:        https://git.kernel.org/tip/61b0648d569aca932eab87a67f7ca0ffd3ea2b68
Author:        Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
AuthorDate:    Wed, 14 Oct 2020 15:17:03 +02:00
Committer:     Marc Zyngier <maz@xxxxxxxxxx>
CommitterDate: Thu, 15 Oct 2020 22:28:35 +01:00

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@xxxxxxxxx>
Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Acked-by: Daniel Palmer <daniel@xxxxxxxxx>
Link: https://lore.kernel.org/r/20201014131703.18021-1-geert+renesas@xxxxxxxxx
---
 drivers/irqchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 570a770..cd734df 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -583,6 +583,7 @@ config LOONGSON_PCH_MSI
 
 config MST_IRQ
 	bool "MStar Interrupt Controller"
+	depends on ARCH_MEDIATEK || ARCH_MSTARV7 || COMPILE_TEST
 	default ARCH_MEDIATEK
 	select IRQ_DOMAIN
 	select IRQ_DOMAIN_HIERARCHY



[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux