]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
net: freescale: mac-fec: Fix build error from phy_device API change
authorAndrew Lunn <andrew@lunn.ch>
Tue, 12 Jan 2016 02:24:31 +0000 (03:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Jan 2016 04:27:26 +0000 (23:27 -0500)
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>
drivers/net/ethernet/freescale/fs_enet/mac-fec.c

index c158d409f6afe6b68f7bc027c8c70551ea77b74d..bade2f8f9b5cff929b0b22b23d19981309443043 100644 (file)
@@ -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;