From patchwork Mon Oct 18 07:07:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 12565223 X-Patchwork-Delegate: lorenzo.pieralisi@arm.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 129D4C4332F for ; Mon, 18 Oct 2021 07:07:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EDBB16128E for ; Mon, 18 Oct 2021 07:07:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230477AbhJRHJ7 (ORCPT ); Mon, 18 Oct 2021 03:09:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:54216 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230458AbhJRHJz (ORCPT ); Mon, 18 Oct 2021 03:09:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2E9A46108E; Mon, 18 Oct 2021 07:07:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634540865; bh=lba08GOqRB9plA7vxyrCpdAbE/eP0oXcgPwM9KwfgkU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aegNV1dlTP6cc6EbaRmR2JQ8LkgBXFW8M+6qbw37Pf5zgsfd5nzE1mo33t7hs4Di9 8YtVYOGWSCxgZMrtLlQCiu+9Zmoq70an4X3dyaR6pyJEqZzSDxw2ByKvup3VExUUH/ 3DtRzuV++/0BNJj7GG1Eqq2mWcH7tFlFBC3p+OrmhAM9XQ9idFOdF/2BCCAoe2EOMr AxRQDkK5I5+kTNiLKQkmZf6bgvEPX5MkS51NzWSy5exfw5ZJcXu/tbra6qI/ePtzfP IbR0lLxLGP5rSm7SM5u/vIk2jqvmG3dqDnxJWUz2MEo+glBJoN1TLx++PoOT2ppzfx 6u+ZJsefuiHug== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mcMkC-000IdA-Rn; Mon, 18 Oct 2021 08:07:36 +0100 From: Mauro Carvalho Chehab To: Lorenzo Pieralisi Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , =?utf-8?q?Krzysztof_Wilc?= =?utf-8?q?zy=C5=84ski?= , "Songxiaowei" , Alex Dewar , Andy Shevchenko , Bjorn Helgaas , Jaehoon Chung , Luca Ceresoli , Manivannan Sadhasivam , Nobuhiro Iwamatsu , Paul Walmsley , Rob Herring , Simon Xue , Srikanth Thokala , Wesley Sheng , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v13 07/10] PCI: kirin: Allow building it as a module Date: Mon, 18 Oct 2021 08:07:32 +0100 Message-Id: <41880ba89b25bcc0a1848eac1ab23f55c8ef3c88.1634539769.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org There's nothing preventing this driver to be loaded as a module. So, change its config from bool to tristate. Acked-by: Xiaowei Song Signed-off-by: Mauro Carvalho Chehab --- See [PATCH v13 00/10] at: https://lore.kernel.org/all/cover.1634539769.git.mchehab+huawei@kernel.org/ drivers/pci/controller/dwc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig index 071a1fb12beb..62ce3abf0f19 100644 --- a/drivers/pci/controller/dwc/Kconfig +++ b/drivers/pci/controller/dwc/Kconfig @@ -274,7 +274,7 @@ config PCIE_KEEMBAY_EP config PCIE_KIRIN depends on OF && (ARM64 || COMPILE_TEST) - bool "HiSilicon Kirin series SoCs PCIe controllers" + tristate "HiSilicon Kirin series SoCs PCIe controllers" depends on PCI_MSI_IRQ_DOMAIN select PCIE_DW_HOST help