PCI: layerscape: Use dw_pcie_link_up() consistently
[firefly-linux-kernel-4.4.55.git] / drivers / pci / host / pci-layerscape.c
index 4a6e62f67579807476ae973006855d28cbfab0d6..bb5894fb81d6f9f99319be9432271875c8795d68 100644 (file)
@@ -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) {