summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2016-01-12 03:24:31 +0100
committerDavid S. Miller <davem@davemloft.net>2016-01-12 05:27:26 +0100
commite47ad65b1bcc5ede7fa2ae01619047585348563e (patch)
treecd2900aae48c4dca100fd2fe7959ea0d48eac37c /drivers/net/ethernet
parentnet: freescale: ucc_geth: Fix build error from phy_device API change (diff)
downloadlinux-e47ad65b1bcc5ede7fa2ae01619047585348563e.tar.xz
linux-e47ad65b1bcc5ede7fa2ae01619047585348563e.zip
net: freescale: mac-fec: 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')
-rw-r--r--drivers/net/ethernet/freescale/fs_enet/mac-fec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
index c158d409f6af..bade2f8f9b5c 100644
--- a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
@@ -363,7 +363,7 @@ static void stop(struct net_device *dev)
const struct fs_platform_info *fpi = fep->fpi;
struct fec __iomem *fecp = fep->fec.fecp;
- struct fec_info* feci= fep->phydev->bus->priv;
+ struct fec_info *feci = fep->phydev->mdio.bus->priv;
int i;