[PATCH] irqchip: fix the config HISILICON_IRQ_MBIGEN dependency error.

From: Jiancheng Xue
Date: Tue Jun 21 2016 - 05:47:59 EST


This patch fixes the compiling error caused when
config HISILICON_IRQ_MBIGEN is selected but
PCI_MSI is not seleted.

Signed-off-by: Jiancheng Xue <xuejiancheng@xxxxxxxxxxxxx>
---
drivers/irqchip/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index fa33c50..23dcf3e 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -110,7 +110,7 @@ config DW_APB_ICTL
config HISILICON_IRQ_MBIGEN
bool
select ARM_GIC_V3
- select ARM_GIC_V3_ITS
+ select ARM_GIC_V3_ITS if PCI_MSI
select GENERIC_MSI_IRQ_DOMAIN

config IMGPDC_IRQ
--
1.9.1