From: Jiangfeng Xiao Date: Fri, 14 Jun 2019 12:57:09 +0000 (+0800) Subject: irqchip/gic: Add dependency for ARM_GIC_MAX_NR X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=702655234dd1d07e76f9bff9575e438c969fc32c;p=openwrt%2Fstaging%2Fblogic.git irqchip/gic: Add dependency for ARM_GIC_MAX_NR 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 Signed-off-by: Marc Zyngier --- diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index fe509b88f99a..b2391d994da2 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -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