aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/cpmac.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-05-26 21:10:22 -0700
committerDavid S. Miller <davem@davemloft.net>2009-05-26 21:10:22 -0700
commit21a8cfe120c581091722fb146540a2033af16a57 (patch)
tree0cf9896aa8c1fe4cb4f6d5ea4f96063c0d082953 /drivers/net/cpmac.c
parent0e53c7f954a1e616df74723630dc844c211f6be5 (diff)
cpmac: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cpmac.c')
-rw-r--r--drivers/net/cpmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cpmac.c b/drivers/net/cpmac.c
index af305c0b34d..cfb4198b677 100644
--- a/drivers/net/cpmac.c
+++ b/drivers/net/cpmac.c
@@ -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;