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:
commit
6bd6d5fa71
|
@ -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;
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue