summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-04-03 16:17:11 -0500
committerBjorn Helgaas <bhelgaas@google.com>2017-04-03 16:17:11 -0500
commit6665f8a307696a0edd4c1233b4cc0f5ed6083525 (patch)
tree1505f044072c79251020d3a03f4f2fd3eb0eb937 /drivers/pci
parentfeb199ebef488a9f2c3550fb10524f3dac9d8abe (diff)
downloadblackbird-op-linux-6665f8a307696a0edd4c1233b4cc0f5ed6083525.tar.gz
blackbird-op-linux-6665f8a307696a0edd4c1233b4cc0f5ed6083525.zip
PCI: dwc: Select PCI_HOST_COMMON for hisi
Without PCI_HOST_COMMON support enabled, we get a link error: drivers/pci/dwc/built-in.o: In function `hisi_pcie_map_bus': pcie-hisi.c:(.text+0x8860): undefined reference to `pci_ecam_map_bus' drivers/pci/dwc/built-in.o: In function `hisi_pcie_almost_ecam_probe': pcie-hisi.c:(.text+0x88b4): undefined reference to `pci_host_common_probe' Add an explicit 'select', as the other users have. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Jingoo Han <jingoohan1@gmail.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/dwc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/dwc/Kconfig b/drivers/pci/dwc/Kconfig
index dfb8a69afc28..d2d2ba5b8a68 100644
--- a/drivers/pci/dwc/Kconfig
+++ b/drivers/pci/dwc/Kconfig
@@ -89,6 +89,7 @@ config PCI_HISI
depends on PCI_MSI_IRQ_DOMAIN
select PCIEPORTBUS
select PCIE_DW_HOST
+ select PCI_HOST_COMMON
help
Say Y here if you want PCIe controller support on HiSilicon
Hip05 and Hip06 SoCs
OpenPOWER on IntegriCloud