From patchwork Thu Aug 12 08:02:19 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: 12432823 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 X-Spam-Level: X-Spam-Status: No, score=-19.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91321C4338F for ; Thu, 12 Aug 2021 08:02:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7225661038 for ; Thu, 12 Aug 2021 08:02:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235028AbhHLIC6 (ORCPT ); Thu, 12 Aug 2021 04:02:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:51216 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234913AbhHLICw (ORCPT ); Thu, 12 Aug 2021 04:02:52 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9237B60EB9; Thu, 12 Aug 2021 08:02:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628755345; bh=TXJ1u7MVWN0FWVTPNy5JjGB30jYHeFOl74oKTqbFZYg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e6m6KEDauzTjrjJBcwbLx2+NxoBSBDlT3gmMX9ngjF31uF4l0pqh7Rqy2GnTbkqbN p0wEaPmcQRwrrA3mVV1YkMyp1b1PU+jkpusAUbUXTi1PlLzJo1qk49jsPmfEKsbo25 GrQlPeA7mpLNHjzx708QnjBD4Rp0/zxeJCRYW8in8LxyaOzh8Y20pSJvLikGoRxbJl mnxai4P/sBe/lvtr8x60wdA5kjgG6xMCMMwqVUiFmO/P2X/sQJ5Z3eu6GzHKFkgWgS GGqykSL28ObpwsNK40k8A5bTZiBSLYmSMpi70Cwv3Efkzrj4qwNb5rgx2hoSDUReMG 8MsnwMBIWONbA== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mE5fT-00DZDB-Sz; Thu, 12 Aug 2021 10:02:23 +0200 From: Mauro Carvalho Chehab To: Vinod Koul , Bjorn Helgaas Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , =?utf-8?q?Krzysztof_Wilc?= =?utf-8?q?zy=C5=84ski?= , Alex Dewar , Arnd Bergmann , Jaehoon Chung , Kevin Hilman , Krzysztof Kozlowski , Lorenzo Pieralisi , Manivannan Sadhasivam , Paul Walmsley , Rob Herring , Wesley Sheng , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v11 08/11] PCI: kirin: Allow building it as a module Date: Thu, 12 Aug 2021 10:02:19 +0200 Message-Id: <52154fd85a6a88f0c98ff1f8ecbdbef247a7f800.1628755058.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. Signed-off-by: Mauro Carvalho Chehab --- 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 423d35872ce4..e0091bfae5b5 100644 --- a/drivers/pci/controller/dwc/Kconfig +++ b/drivers/pci/controller/dwc/Kconfig @@ -227,7 +227,7 @@ config PCIE_INTEL_GW 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