Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1605658

[PATCH] pci: dwc: hisi needs PCI_HOST_COMMON

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject [PATCH] pci: dwc: hisi needs PCI_HOST_COMMON
Date 2017-03-21 15:40 +0100
Message-ID <tnt74-4zY-25@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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'

This adds an explicit 'select', as the other users have.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/pci/dwc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.9.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] pci: dwc: hisi needs PCI_HOST_COMMON Arnd Bergmann <arnd@arndb.de> - 2017-03-21 15:40 +0100
  Re: [PATCH] pci: dwc: hisi needs PCI_HOST_COMMON "Jingoo Han" <jingoohan1@gmail.com> - 2017-03-21 16:50 +0100
    Re: [PATCH] pci: dwc: hisi needs PCI_HOST_COMMON Zhou Wang <wangzhou1@hisilicon.com> - 2017-03-22 04:30 +0100
      Re: [PATCH] pci: dwc: hisi needs PCI_HOST_COMMON Zhou Wang <wangzhou1@hisilicon.com> - 2017-03-22 13:30 +0100

csiph-web