Skip to content

Commit

Permalink
sh_eth: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE instead.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
davem330 committed May 27, 2009
1 parent 21a8cfe commit 0a372eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/sh_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ static void sh_eth_adjust_link(struct net_device *ndev)
static int sh_eth_phy_init(struct net_device *ndev)
{
struct sh_eth_private *mdp = netdev_priv(ndev);
char phy_id[BUS_ID_SIZE];
char phy_id[MII_BUS_ID_SIZE + 3];
struct phy_device *phydev = NULL;

snprintf(phy_id, sizeof(phy_id), PHY_ID_FMT,
Expand Down

0 comments on commit 0a372eb

Please sign in to comment.