irqchip/csky-mpintc: Prevent selection on unsupported platforms
authorGuo Ren <guoren@linux.alibaba.com>
Thu, 4 Feb 2021 07:46:08 +0000 (15:46 +0800)
committerMarc Zyngier <maz@kernel.org>
Thu, 4 Feb 2021 10:37:28 +0000 (10:37 +0000)
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@linux.alibaba.com>
[maz: rewrote commit message]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210204074609.3553018-1-guoren@kernel.org
drivers/irqchip/Kconfig

index f95d114..030895c 100644 (file)
@@ -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