aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/host
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2015-06-02 16:27:56 -0500
committerBjorn Helgaas <bhelgaas@google.com>2015-06-10 13:52:36 -0500
commit1200edcbdd0434646fa8c8c99ab17e714ac4fa9d (patch)
treed1d4b0d2a983d9e456eb2236378dcf16a7fa3bbb /drivers/pci/host
parentPCI: dra7xx: Use dw_pcie_link_up() consistently (diff)
downloadlinux-dev-1200edcbdd0434646fa8c8c99ab17e714ac4fa9d.tar.xz
linux-dev-1200edcbdd0434646fa8c8c99ab17e714ac4fa9d.zip
PCI: layerscape: Use dw_pcie_link_up() consistently
All the other DesignWare-based drivers use dw_pcie_link_up(), so use it in this driver, too, for consistency. No functional change. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Pratyush Anand <pratyush.anand@gmail.com>
Diffstat (limited to 'drivers/pci/host')
-rw-r--r--drivers/pci/host/pci-layerscape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-layerscape.c b/drivers/pci/host/pci-layerscape.c
index 4a6e62f67579..bb5894fb81d6 100644
--- a/drivers/pci/host/pci-layerscape.c
+++ b/drivers/pci/host/pci-layerscape.c
@@ -70,7 +70,7 @@ static void ls_pcie_host_init(struct pcie_port *pp)
dw_pcie_setup_rc(pp);
- while (!ls_pcie_link_up(pp)) {
+ while (!dw_pcie_link_up(pp)) {
usleep_range(100, 1000);
count++;
if (count >= 200) {