summaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller
diff options
context:
space:
mode:
authorVidya Sagar <vidyas@nvidia.com>2019-08-13 17:06:20 +0530
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2019-08-13 15:52:42 +0100
commitfeee519ae55c8859a50eca0da83b1ef4ea45f65d (patch)
treea7a9b2a7ad364d22b6bf261efc552d0b7c5bd741 /drivers/pci/controller
parent5b0841fa653f6c156500ecfe7e996837884363c4 (diff)
downloadlinux-feee519ae55c8859a50eca0da83b1ef4ea45f65d.tar.bz2
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/controller')
-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)
{