Skip to content

Commit

Permalink
net: freescale: ucc_geth: Fix build error from phy_device API change
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Lunn authored and David S. Miller committed Jan 12, 2016
1 parent 7937963 commit 5e43165
Showing 1 changed file with 1 addition and 1 deletion.
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 5e43165

Please sign in to comment.