Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.