diff options
author | Marc Gonzalez <marc_gonzalez@sigmadesigns.com> | 2017-04-18 22:21:04 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-04-18 22:21:04 +0300 |
commit | de5bbdd01cf9ee3cd4586b5a970d3ea015c6d7e3 (patch) | |
tree | ddd1ad45d04c04718409c9bce0ec0b1e610c5baf /include/linux/pci-ecam.h | |
parent | 0b131b139467db844874f31b46bb638b541d9d3f (diff) | |
download | linux-de5bbdd01cf9ee3cd4586b5a970d3ea015c6d7e3.tar.xz |
PCI: Change pci_host_common_probe() visibility
pci_host_common_probe() is defined when CONFIG_PCI_HOST_COMMON=y;
therefore the function declaration should match that.
drivers/pci/host/pcie-tango.c:300:9: error:
implicit declaration of function 'pci_host_common_probe'
Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci-ecam.h')
-rw-r--r-- | include/linux/pci-ecam.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci-ecam.h b/include/linux/pci-ecam.h index b8f11d783a11..809c2f1873ac 100644 --- a/include/linux/pci-ecam.h +++ b/include/linux/pci-ecam.h @@ -69,7 +69,7 @@ extern struct pci_ecam_ops xgene_v1_pcie_ecam_ops; /* APM X-Gene PCIe v1 */ extern struct pci_ecam_ops xgene_v2_pcie_ecam_ops; /* APM X-Gene PCIe v2.x */ #endif -#ifdef CONFIG_PCI_HOST_GENERIC +#ifdef CONFIG_PCI_HOST_COMMON /* for DT-based PCI controllers that support ECAM */ int pci_host_common_probe(struct platform_device *pdev, struct pci_ecam_ops *ops); |