Merge branch 'mdio-build-failures'

Andrew Lunn says:

====================
More mdio device build failure fixes

These patches fix two build errors reported by Guenter Roeck
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2016-01-11 23:27:26 -05:00
commit 6bd6d5fa71
2 changed files with 2 additions and 2 deletions

View 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;

View File

@ -1716,7 +1716,7 @@ static void uec_configure_serdes(struct net_device *dev)
phy_write(tbiphy, ENET_TBI_MII_CR, TBICR_SETTINGS);
put_device(&tbiphy->dev);
put_device(&tbiphy->mdio.dev);
}
/* Configure the PHY for dev.