Commit 5e431650 authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller
Browse files

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



dev has moved inside the new mdio structure.
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7937963a
......@@ -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.
......
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