Commit bcec081e authored by huhai's avatar huhai Committed by Michael Ellerman
parent 3aacaa71
...@@ -1242,7 +1242,7 @@ static void __init ppc460sx_pciex_check_link(struct ppc4xx_pciex_port *port) ...@@ -1242,7 +1242,7 @@ static void __init ppc460sx_pciex_check_link(struct ppc4xx_pciex_port *port)
if (mbase == NULL) { if (mbase == NULL) {
printk(KERN_ERR "%pOF: Can't map internal config space !", printk(KERN_ERR "%pOF: Can't map internal config space !",
port->node); port->node);
goto done; return;
} }
while (attempt && (0 == (in_le32(mbase + PECFG_460SX_DLLSTA) while (attempt && (0 == (in_le32(mbase + PECFG_460SX_DLLSTA)
...@@ -1252,9 +1252,7 @@ static void __init ppc460sx_pciex_check_link(struct ppc4xx_pciex_port *port) ...@@ -1252,9 +1252,7 @@ static void __init ppc460sx_pciex_check_link(struct ppc4xx_pciex_port *port)
} }
if (attempt) if (attempt)
port->link = 1; port->link = 1;
done:
iounmap(mbase); iounmap(mbase);
} }
static struct ppc4xx_pciex_hwops ppc460sx_pcie_hwops __initdata = { static struct ppc4xx_pciex_hwops ppc460sx_pcie_hwops __initdata = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment