[irqchip: irq/irqchip-next] irqchip/csky-mpintc: Prevent selection on unsupported platforms

From: irqchip-bot for Guo Ren
Date: Thu Feb 04 2021 - 11:06:27 EST


The following commit has been merged into the irq/irqchip-next branch of irqchip:

Commit-ID: be1abc5ba4d2082df6749ab95ec6f87c4d3dbb23
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/be1abc5ba4d2082df6749ab95ec6f87c4d3dbb23
Author: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>
AuthorDate: Thu, 04 Feb 2021 15:46:08 +08:00
Committer: Marc Zyngier <maz@xxxxxxxxxx>
CommitterDate: Thu, 04 Feb 2021 10:37:28

irqchip/csky-mpintc: Prevent selection on unsupported platforms

The irq-csky-mpintc driver is only supported on CPU_CK860 and
it will generate a compilation error when selected with CPU_CK610.

As it is already selected directly in the architecture Kconfig,
drop the option to select it manually.

Signed-off-by: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>
[maz: rewrote commit message]
Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20210204074609.3553018-1-guoren@xxxxxxxxxx
---
drivers/irqchip/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index f95d114..030895c 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -427,7 +427,7 @@ config QCOM_PDC
IRQs for Qualcomm Technologies Inc (QTI) mobile chips.

config CSKY_MPINTC
- bool "C-SKY Multi Processor Interrupt Controller"
+ bool
depends on CSKY
help
Say yes here to enable C-SKY SMP interrupt controller driver used