diff options
author | David Daney <david.daney@cavium.com> | 2016-03-11 22:35:55 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-03-11 22:50:20 +0100 |
commit | 4e64dbe226e707b442d45c2096dde2090f34f84d (patch) | |
tree | 4affe2d8517d33bbff1db88c90e6209ae002d7b8 /drivers/pci/host/Kconfig | |
parent | PCI: generic: Add pci_host_common_probe(), based on gen_pci_probe() (diff) | |
download | linux-4e64dbe226e707b442d45c2096dde2090f34f84d.tar.xz linux-4e64dbe226e707b442d45c2096dde2090f34f84d.zip |
PCI: generic: Expose pci_host_common_probe() for use by other drivers
Move pci_host_common_probe() and associated functions to pci-host-common.c,
where it can be shared with other drivers. Make it public (not static)
and update Kconfig and Makefile to build it. No functional change
intended.
[bhelgaas: split into separate patch, changelog]
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/pci/host/Kconfig')
-rw-r--r-- | drivers/pci/host/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig index 75a605426538..65709b4bb3a4 100644 --- a/drivers/pci/host/Kconfig +++ b/drivers/pci/host/Kconfig @@ -53,9 +53,13 @@ config PCI_RCAR_GEN2_PCIE help Say Y here if you want PCIe controller support on R-Car Gen2 SoCs. +config PCI_HOST_COMMON + bool + config PCI_HOST_GENERIC bool "Generic PCI host controller" depends on (ARM || ARM64) && OF + select PCI_HOST_COMMON help Say Y here if you want to support a simple generic PCI host controller, such as the one emulated by kvmtool. |