summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2016-01-12 05:24:30 +0300
committerDavid S. Miller <davem@davemloft.net>2016-01-12 07:27:26 +0300
commit5e431650f06a9d857fe1d61d92236fad678f7880 (patch)
treeb90cbd06bd1ae812e53519008fcaf153a911d7b8 /drivers/net/ethernet/freescale
parent7937963a02972281fd20c920db1a0344d947bb25 (diff)
downloadlinux-5e431650f06a9d857fe1d61d92236fad678f7880.tar.xz
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/net/ethernet/freescale')
-rw-r--r--drivers/net/ethernet/freescale/ucc_geth.c2
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.