[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1561644707-25191-1-git-send-email-xiaojiangfeng@huawei.com>
Date: Thu, 27 Jun 2019 22:11:47 +0800
From: Jiangfeng Xiao <xiaojiangfeng@...wei.com>
To: <tglx@...utronix.de>, <jason@...edaemon.net>,
<marc.zyngier@....com>, <linus.walleij@...aro.org>,
<xiaojiangfeng@...wei.com>
CC: <linux-kernel@...r.kernel.org>
Subject: [PATCH] irqchip/gic: Add dependency for ARM_GIC
Not every arch has ARM_GIC, it is strange
to see ARM_GIC_MAX_NR in the .config file
of the x86 and IA-64 architecture. so fix
build by adding necessary dependency.
Signed-off-by: Jiangfeng Xiao <xiaojiangfeng@...wei.com>
---
drivers/irqchip/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 659c5e0..e338b471 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
--
1.8.5.6
Powered by blists - more mailing lists