Skip to contentSkip to conversation

: cpmac: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE.

PATCH In review David Miller 1 participant 1 message May 27, 2009

Subsystems (2)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 3/6 : cpmac: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE.

---
 drivers/net/cpmac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/cpmac.c +1 -1
index af305c0..cfb4198 100644
@@ -202,7 +202,7 @@ struct cpmac_priv {
 	void __iomem *regs;
 	struct mii_bus *mii_bus;
 	struct phy_device *phy;
-	char phy_name[BUS_ID_SIZE];
+	char phy_name[MII_BUS_ID_SIZE + 3];
 	int oldlink, oldspeed, oldduplex;
 	u32 msg_enable;
 	struct net_device *dev;
Signature · 1 line
1.6.3