From patchwork Mon Feb 8 00:00:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Gortmaker X-Patchwork-Id: 8245831 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 098C3BEEE5 for ; Mon, 8 Feb 2016 00:01:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 06120201B9 for ; Mon, 8 Feb 2016 00:01:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AC59820173 for ; Mon, 8 Feb 2016 00:01:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754208AbcBHABd (ORCPT ); Sun, 7 Feb 2016 19:01:33 -0500 Received: from mail5.windriver.com ([192.103.53.11]:51098 "EHLO mail5.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754041AbcBHABc (ORCPT ); Sun, 7 Feb 2016 19:01:32 -0500 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id u1801CVe031573 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK); Sun, 7 Feb 2016 16:01:12 -0800 Received: from yow-lpgnfs-02.corp.ad.wrs.com (128.224.149.8) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.248.2; Sun, 7 Feb 2016 16:01:11 -0800 From: Paul Gortmaker To: CC: Paul Gortmaker , Bjorn Helgaas , Ley Foon Tan , Geert Uytterhoeven , Stanimir Varbanov , Thierry Reding , Arnd Bergmann , , Subject: [PATCH 5/5] drivers/pci: make most of the PCI_DW drivers modular Date: Sun, 7 Feb 2016 19:00:44 -0500 Message-ID: <1454889644-27830-6-git-send-email-paul.gortmaker@windriver.com> X-Mailer: git-send-email 2.6.1 In-Reply-To: <1454889644-27830-1-git-send-email-paul.gortmaker@windriver.com> References: <1454889644-27830-1-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We've exported the symbols that we know these specific drivers will need as tristate, so now we can make the conversion from bool to tristate w/o concern for build regressions. Cc: Bjorn Helgaas Cc: Ley Foon Tan Cc: Geert Uytterhoeven Cc: Stanimir Varbanov Cc: Thierry Reding Cc: Arnd Bergmann Cc: linux-pci@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Paul Gortmaker --- drivers/pci/host/Kconfig | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig index b040ad7ba44d..f3020389ddaa 100644 --- a/drivers/pci/host/Kconfig +++ b/drivers/pci/host/Kconfig @@ -2,7 +2,7 @@ menu "PCI host controller drivers" depends on PCI config PCI_DRA7XX - bool "TI DRA7xx PCIe controller" + tristate "TI DRA7xx PCIe controller" select PCIE_DW depends on OF && HAS_IOMEM && TI_PIPE3 depends on BROKEN @@ -20,13 +20,13 @@ config PCIE_DW bool config PCI_EXYNOS - bool "Samsung Exynos PCIe controller" + tristate "Samsung Exynos PCIe controller" depends on SOC_EXYNOS5440 select PCIEPORTBUS select PCIE_DW config PCI_IMX6 - bool "Freescale i.MX6 PCIe controller" + tristate "Freescale i.MX6 PCIe controller" depends on SOC_IMX6Q select PCIEPORTBUS select PCIE_DW @@ -61,7 +61,7 @@ config PCI_HOST_GENERIC controller, such as the one emulated by kvmtool. config PCIE_SPEAR13XX - bool "STMicroelectronics SPEAr PCIe controller" + tristate "STMicroelectronics SPEAr PCIe controller" depends on ARCH_SPEAR13XX select PCIEPORTBUS select PCIE_DW @@ -106,7 +106,7 @@ config PCI_XGENE_MSI This MSI driver supports 5 PCIe ports on the APM X-Gene v1 SoC. config PCI_LAYERSCAPE - bool "Freescale Layerscape PCIe controller" + tristate "Freescale Layerscape PCIe controller" depends on OF && (ARM || ARCH_LAYERSCAPE) select PCIE_DW select MFD_SYSCON @@ -174,7 +174,7 @@ config PCIE_ALTERA_MSI config PCI_HISI depends on OF && ARM64 - bool "HiSilicon Hip05 and Hip06 SoCs PCIe controllers" + tristate "HiSilicon Hip05 and Hip06 SoCs PCIe controllers" select PCIEPORTBUS select PCIE_DW help @@ -182,7 +182,7 @@ config PCI_HISI Hip05 and Hip06 SoCs config PCIE_QCOM - bool "Qualcomm PCIe controller" + tristate "Qualcomm PCIe controller" depends on ARCH_QCOM && OF select PCIE_DW select PCIEPORTBUS