From patchwork Tue Oct 19 06:06:45 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: 12568659 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 C00D2C4321E for ; Tue, 19 Oct 2021 06:07:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AEFAB6137D for ; Tue, 19 Oct 2021 06:07:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234164AbhJSGJN (ORCPT ); Tue, 19 Oct 2021 02:09:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:46160 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233986AbhJSGJH (ORCPT ); Tue, 19 Oct 2021 02:09:07 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0F0CC613A6; Tue, 19 Oct 2021 06:06:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634623615; bh=hLEq7+OQ/uMwGAS4T3XnUMjJocDtk40l6CypKplJ3JQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LuRU7PHEhngRy+QXUqk2jEJxwwP+P3ttddQ3/2X5dRUb/eKGSwYaMWvAuOZJ6QIAw ImQ2p1x30sMLhI+QtzpDFYs4woy+Z9Ns9ON+UXJYaoCCnhPjwf9VM8UKpHPDaXPY6g NVies2fVW8XyxefdSoiuQkaHQENozvDXCr6EcwJGmo0LJ3ty6Ic/6lW0ll0pPc2kSu lAo7jdeHS1m9ynAIRuGRFEvQjgJ8fb6D3MqDPHLaH6ALELoKhTg6dWjXO6/3ZPhgr/ /J5cj1juXyCttfgNfLDvinZdG/LYfizX6CP+DWYnM4FA4HgZSHLxU6GqabH8IPd2Ci nAaB2KfaWV1vw== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mciGx-001krt-SS; Tue, 19 Oct 2021 07:06:51 +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 v14 08/11] PCI: kirin: Allow building it as a module Date: Tue, 19 Oct 2021 07:06:45 +0100 Message-Id: <33e7df9253c0fc9b0ff0672e1a83062a84b820b5.1634622716.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 v14 00/11] at: https://lore.kernel.org/all/cover.1634622716.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