diff options
author | David S. Miller <davem@davemloft.net> | 2009-05-27 00:11:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-27 00:11:09 -0400 |
commit | 0a372eb91f9d507701a901c2f62ed31ca67fd66c (patch) | |
tree | f251b0d98fb9804ac228569436a737fd80829d3e /drivers/net/sh_eth.c | |
parent | 21a8cfe120c581091722fb146540a2033af16a57 (diff) |
sh_eth: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE instead.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sh_eth.c')
-rw-r--r-- | drivers/net/sh_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index cdd73b9c553d..0709b7512467 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c | |||
@@ -964,7 +964,7 @@ static void sh_eth_adjust_link(struct net_device *ndev) | |||
964 | static int sh_eth_phy_init(struct net_device *ndev) | 964 | static int sh_eth_phy_init(struct net_device *ndev) |
965 | { | 965 | { |
966 | struct sh_eth_private *mdp = netdev_priv(ndev); | 966 | struct sh_eth_private *mdp = netdev_priv(ndev); |
967 | char phy_id[BUS_ID_SIZE]; | 967 | char phy_id[MII_BUS_ID_SIZE + 3]; |
968 | struct phy_device *phydev = NULL; | 968 | struct phy_device *phydev = NULL; |
969 | 969 | ||
970 | snprintf(phy_id, sizeof(phy_id), PHY_ID_FMT, | 970 | snprintf(phy_id, sizeof(phy_id), PHY_ID_FMT, |