net: freescale: ucc_geth: Fix build error from phy_device API change

dev has moved inside the new mdio structure.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Andrew Lunn 2016-01-12 03:24:30 +01:00 committed by David S. Miller
parent 7937963a02
commit 5e431650f0

View File

@ -1716,7 +1716,7 @@ static void uec_configure_serdes(struct net_device *dev)
phy_write(tbiphy, ENET_TBI_MII_CR, TBICR_SETTINGS);
put_device(&tbiphy->dev);
put_device(&tbiphy->mdio.dev);
}
/* Configure the PHY for dev.