Skip to content

Commit

Permalink
Merge branch 'mdio-build-failures'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Jan 12, 2016
2 parents 7937963 + e47ad65 commit 6bd6d5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion drivers/net/ethernet/freescale/ucc_geth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6bd6d5f

Please sign in to comment.