summaryrefslogtreecommitdiff
path: root/drivers/pci/dwc/Makefile
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2017-02-15 16:18:18 +0300
committerBjorn Helgaas <bhelgaas@google.com>2017-02-22 00:00:26 +0300
commita0560209f10cb55fbfcdd11ef85cfb444f8bea89 (patch)
treef3ccfe94e4c080a785806a7c74ac5da3a8dce903 /drivers/pci/dwc/Makefile
parentfeb85d9b1c47ea8dbcae559ff127b433fdb245b7 (diff)
downloadlinux-a0560209f10cb55fbfcdd11ef85cfb444f8bea89.tar.xz
PCI: dwc: Add CONFIG_PCIE_DW_HOST to enable PCI dwc host
Now that PCI designware host has a separate file, add a new PCIE_DW_HOST config symbol to select the host-only driver. This will enable to independently select host support and endpoint support (when it's added). Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/dwc/Makefile')
-rw-r--r--drivers/pci/dwc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/dwc/Makefile b/drivers/pci/dwc/Makefile
index 3b57e55d97b3..a2df13c28798 100644
--- a/drivers/pci/dwc/Makefile
+++ b/drivers/pci/dwc/Makefile
@@ -1,4 +1,5 @@
-obj-$(CONFIG_PCIE_DW) += pcie-designware.o pcie-designware-host.o
+obj-$(CONFIG_PCIE_DW) += pcie-designware.o
+obj-$(CONFIG_PCIE_DW_HOST) += pcie-designware-host.o
obj-$(CONFIG_PCIE_DW_PLAT) += pcie-designware-plat.o
obj-$(CONFIG_PCI_DRA7XX) += pci-dra7xx.o
obj-$(CONFIG_PCI_EXYNOS) += pci-exynos.o