Browse Source

cpmac: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 16 years ago
parent
commit
21a8cfe120
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/cpmac.c

+ 1 - 1
drivers/net/cpmac.c

@@ -202,7 +202,7 @@ struct cpmac_priv {
 	void __iomem *regs;
 	void __iomem *regs;
 	struct mii_bus *mii_bus;
 	struct mii_bus *mii_bus;
 	struct phy_device *phy;
 	struct phy_device *phy;
-	char phy_name[BUS_ID_SIZE];
+	char phy_name[MII_BUS_ID_SIZE + 3];
 	int oldlink, oldspeed, oldduplex;
 	int oldlink, oldspeed, oldduplex;
 	u32 msg_enable;
 	u32 msg_enable;
 	struct net_device *dev;
 	struct net_device *dev;