diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-01-12 03:24:30 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-11 23:27:26 -0500 |
commit | 5e431650f06a9d857fe1d61d92236fad678f7880 (patch) | |
tree | b90cbd06bd1ae812e53519008fcaf153a911d7b8 /drivers | |
parent | 7937963a02972281fd20c920db1a0344d947bb25 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/freescale/ucc_geth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c index 0e7f24ec3239..cbddbe2d0429 100644 --- a/drivers/net/ethernet/freescale/ucc_geth.c +++ b/drivers/net/ethernet/freescale/ucc_geth.c @@ -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. |