diff options
-rw-r--r-- | drivers/net/cpmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cpmac.c b/drivers/net/cpmac.c index af305c0b34d1..cfb4198b6776 100644 --- a/drivers/net/cpmac.c +++ b/drivers/net/cpmac.c | |||
@@ -202,7 +202,7 @@ struct cpmac_priv { | |||
202 | void __iomem *regs; | 202 | void __iomem *regs; |
203 | struct mii_bus *mii_bus; | 203 | struct mii_bus *mii_bus; |
204 | struct phy_device *phy; | 204 | struct phy_device *phy; |
205 | char phy_name[BUS_ID_SIZE]; | 205 | char phy_name[MII_BUS_ID_SIZE + 3]; |
206 | int oldlink, oldspeed, oldduplex; | 206 | int oldlink, oldspeed, oldduplex; |
207 | u32 msg_enable; | 207 | u32 msg_enable; |
208 | struct net_device *dev; | 208 | struct net_device *dev; |