cpmac: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE.
authorDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2009 04:10:22 +0000 (21:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2009 04:10:22 +0000 (21:10 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cpmac.c

index af305c0b34d1a81ff9239dbb76a6d2c9238cee74..cfb4198b6776cdfc5469193ce707dee2953aebfe 100644 (file)
@@ -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;