From: David S. Miller Date: Wed, 27 May 2009 04:11:09 +0000 (-0700) Subject: sh_eth: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE instead. X-Git-Tag: v2.6.31-rc1~14^2~341 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a372eb91f9d507701a901c2f62ed31ca67fd66c;p=profile%2Fivi%2Fkernel-x86-ivi.git sh_eth: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE instead. Signed-off-by: David S. Miller --- diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index cdd73b9..0709b75 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) 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,