diff options
Diffstat (limited to 'drivers/net/fec.c')
-rw-r--r-- | drivers/net/fec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/fec.c b/drivers/net/fec.c index 74798bee672e..634c0daeecec 100644 --- a/drivers/net/fec.c +++ b/drivers/net/fec.c | |||
@@ -983,8 +983,6 @@ static int fec_enet_mii_init(struct platform_device *pdev) | |||
983 | for (i = 0; i < PHY_MAX_ADDR; i++) | 983 | for (i = 0; i < PHY_MAX_ADDR; i++) |
984 | fep->mii_bus->irq[i] = PHY_POLL; | 984 | fep->mii_bus->irq[i] = PHY_POLL; |
985 | 985 | ||
986 | platform_set_drvdata(ndev, fep->mii_bus); | ||
987 | |||
988 | if (mdiobus_register(fep->mii_bus)) | 986 | if (mdiobus_register(fep->mii_bus)) |
989 | goto err_out_free_mdio_irq; | 987 | goto err_out_free_mdio_irq; |
990 | 988 | ||