Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2127008ybd; Thu, 27 Jun 2019 07:13:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxXtXMR4pUgAUd68w/j0gsPWz+Zf2YCLjY0W8o4mBvv75XZEDVP1TIFqmaezFzFbiAL1mgP X-Received: by 2002:a17:902:ac86:: with SMTP id h6mr4661696plr.98.1561644784682; Thu, 27 Jun 2019 07:13:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561644784; cv=none; d=google.com; s=arc-20160816; b=lff/A+XQgt9GLvy+pI/5pDGgMa5W6sNlI+yMyNFiLup3uApGmofSdBrvn2xiBkkME5 iG8Ozatp0gkeKdioqaLfivkZhcDW7W470TA+LiSfQKSqm27h/wOvwUf9FK4SAggEXCy3 oUnbOymuzeNJBt15hhBYZtBuytML7u+/qTrmVS57hm4rpAQPkaCfoHn1OZqb+hQCVB6Z 3dW9WpzrrAN4tOpzSVRmMT0a4ecSYFBgmZUiKrdfRUGFrB0ZKF5h52FJsjx6LwJbC7qw ixJIw2aQ/ayDsLuw3xDjkR32MR4hjS1aymr7/LhQdcv4hqCHpOTX003jiMOoSBG2hh5n MY1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=f6Q4/2mLvghL13TY0LRB4J0BBHd0mgKVcAeBEJQAoUY=; b=QoPOhI7WS9bhZsOK6GW2wP5BFdOLkV24+a8sMb70nBL/LzwaQPdM+AYMizaUjs2gsb 4QwWpUqmQpW5Nsun7f6lrlSPWckeis2osSazGP6iYH1eKrexCOekeoiaLF7TsWscVA9k 9R3RsgABkTHRYK33fKtGC8noGft6XgzTx0kq6ufwSLx+YJDIPoeLIGOi8Tb08hdpiO8L YR57gbbxE4rR6mNXwfuiuEpSOo/G1dMKDWfof4Z322uXkf+0kVUHI19lDC2+pZWCkIXk mffoiW4IbVLROKZVJ6rll8udOgUkXwca61EmJkUq9GgrFS210m1hC7d5NWPQ0Ez8PnGO Gn4Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cx20si5227446pjb.97.2019.06.27.07.12.47; Thu, 27 Jun 2019 07:13:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726614AbfF0OMJ (ORCPT + 99 others); Thu, 27 Jun 2019 10:12:09 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:50242 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726370AbfF0OMJ (ORCPT ); Thu, 27 Jun 2019 10:12:09 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 184AB6F65FC6F0EE6CEA; Thu, 27 Jun 2019 22:12:07 +0800 (CST) Received: from huawei.com (10.67.189.167) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.439.0; Thu, 27 Jun 2019 22:11:57 +0800 From: Jiangfeng Xiao To: , , , , CC: Subject: [PATCH] irqchip/gic: Add dependency for ARM_GIC Date: Thu, 27 Jun 2019 22:11:47 +0800 Message-ID: <1561644707-25191-1-git-send-email-xiaojiangfeng@huawei.com> X-Mailer: git-send-email 1.8.5.6 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.189.167] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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