mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 01:40:30 +00:00
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:
parent
7937963a02
commit
5e431650f0
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user