irqchip/gic: Add dependency for ARM_GIC_MAX_NR
authorJiangfeng Xiao <xiaojiangfeng@huawei.com>
Fri, 14 Jun 2019 12:57:09 +0000 (20:57 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 17 Jun 2019 09:10:02 +0000 (10:10 +0100)
CONFIG_ARM_GIC_MAX_NR is enabled by default.
It is redundant in x86 and IA-64 where is
without GIC.

Signed-off-by: Jiangfeng Xiao <xiaojiangfeng@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/Kconfig

index fe509b88f99a8f10272be64589b873ae9bf94e7c..b2391d994da2273ac4b48edb58a7d1ad7ea73b25 100644 (file)
@@ -19,6 +19,7 @@ config ARM_GIC_PM
 
 config ARM_GIC_MAX_NR
        int
+       depends on ARM_GIC
        default 2 if ARCH_REALVIEW
        default 1