From: Bjorn Helgaas Date: Tue, 2 Jun 2015 21:27:56 +0000 (-0500) Subject: PCI: layerscape: Use dw_pcie_link_up() consistently X-Git-Tag: firefly_0821_release~176^2~1612^2~2^3~2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1200edcbdd0434646fa8c8c99ab17e714ac4fa9d;p=firefly-linux-kernel-4.4.55.git 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 Acked-by: Pratyush Anand --- 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) {