]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: dwc: Select PCI_HOST_COMMON for hisi
authorArnd Bergmann <arnd@arndb.de>
Mon, 3 Apr 2017 21:17:11 +0000 (16:17 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 3 Apr 2017 21:17:11 +0000 (16:17 -0500)
commit6665f8a307696a0edd4c1233b4cc0f5ed6083525
tree1505f044072c79251020d3a03f4f2fd3eb0eb937
parentfeb199ebef488a9f2c3550fb10524f3dac9d8abe
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>
drivers/pci/dwc/Kconfig