From: Andrew Lunn Date: Tue, 12 Jan 2016 02:24:31 +0000 (+0100) Subject: net: freescale: mac-fec: Fix build error from phy_device API change X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e47ad65b1bcc5ede7fa2ae01619047585348563e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- 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;