diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-04-03 17:17:11 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-04-03 17:17:11 -0400 |
commit | 6665f8a307696a0edd4c1233b4cc0f5ed6083525 (patch) | |
tree | 1505f044072c79251020d3a03f4f2fd3eb0eb937 | |
parent | feb199ebef488a9f2c3550fb10524f3dac9d8abe (diff) |
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>
-rw-r--r-- | drivers/pci/dwc/Kconfig | 1 |
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 | |||
89 | depends on PCI_MSI_IRQ_DOMAIN | 89 | depends on PCI_MSI_IRQ_DOMAIN |
90 | select PCIEPORTBUS | 90 | select PCIEPORTBUS |
91 | select PCIE_DW_HOST | 91 | select PCIE_DW_HOST |
92 | select PCI_HOST_COMMON | ||
92 | help | 93 | help |
93 | Say Y here if you want PCIe controller support on HiSilicon | 94 | Say Y here if you want PCIe controller support on HiSilicon |
94 | Hip05 and Hip06 SoCs | 95 | Hip05 and Hip06 SoCs |