diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-01-12 03:24:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-12 05:27:26 +0100 |
commit | e47ad65b1bcc5ede7fa2ae01619047585348563e (patch) | |
tree | cd2900aae48c4dca100fd2fe7959ea0d48eac37c /drivers/net/ethernet | |
parent | net: freescale: ucc_geth: Fix build error from phy_device API change (diff) | |
download | linux-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.c | 2 |
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; |