提交 0a372eb9 编写于 作者: D David S. Miller

sh_eth: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE instead.

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 21a8cfe1
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册