summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorVidya Sagar <vidyas@nvidia.com>2019-08-13 13:36:20 +0200
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2019-08-13 16:52:42 +0200
commitfeee519ae55c8859a50eca0da83b1ef4ea45f65d (patch)
treea7a9b2a7ad364d22b6bf261efc552d0b7c5bd741 /drivers/pci
parentPCI: dwc: Add extended configuration space capability search API (diff)
downloadlinux-feee519ae55c8859a50eca0da83b1ef4ea45f65d.tar.xz
linux-feee519ae55c8859a50eca0da83b1ef4ea45f65d.zip
PCI: dwc: Export dw_pcie_wait_for_link() API
Export the dw_pcie_wait_for_link() function to be able to build drivers using it as loadable modules. Signed-off-by: Vidya Sagar <vidyas@nvidia.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/controller/dwc/pcie-designware.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/controller/dwc/pcie-designware.c b/drivers/pci/controller/dwc/pcie-designware.c
index 181449e342f1..1d87e823de21 100644
--- a/drivers/pci/controller/dwc/pcie-designware.c
+++ b/drivers/pci/controller/dwc/pcie-designware.c
@@ -460,6 +460,7 @@ int dw_pcie_wait_for_link(struct dw_pcie *pci)
return -ETIMEDOUT;
}
+EXPORT_SYMBOL_GPL(dw_pcie_wait_for_link);
int dw_pcie_link_up(struct dw_pcie *pci)
{