Skip to content

Commit

Permalink
net: freescale: mac-fec: Fix build error from phy_device API change
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Lunn authored and David S. Miller committed Jan 12, 2016
1 parent 5e43165 commit e47ad65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/freescale/fs_enet/mac-fec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e47ad65

Please sign in to comment.