diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-01-12 02:24:31 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-12 04:27:26 (GMT) |
commit | e47ad65b1bcc5ede7fa2ae01619047585348563e (patch) | |
tree | cd2900aae48c4dca100fd2fe7959ea0d48eac37c | |
parent | 5e431650f06a9d857fe1d61d92236fad678f7880 (diff) | |
download | linux-e47ad65b1bcc5ede7fa2ae01619047585348563e.tar.xz |
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>
-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 c158d40..bade2f8 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; |