Commit 04cfa852 authored by David S. Miller's avatar David S. Miller
parents dc19e4e5 9721dbb3
...@@ -983,8 +983,6 @@ static int fec_enet_mii_init(struct platform_device *pdev) ...@@ -983,8 +983,6 @@ static int fec_enet_mii_init(struct platform_device *pdev)
for (i = 0; i < PHY_MAX_ADDR; i++) for (i = 0; i < PHY_MAX_ADDR; i++)
fep->mii_bus->irq[i] = PHY_POLL; fep->mii_bus->irq[i] = PHY_POLL;
platform_set_drvdata(ndev, fep->mii_bus);
if (mdiobus_register(fep->mii_bus)) if (mdiobus_register(fep->mii_bus))
goto err_out_free_mdio_irq; goto err_out_free_mdio_irq;
......
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