* [PATCH 3/6]: cpmac: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE.
@ 2009-05-27 4:39 David Miller
0 siblings, 0 replies; only message in thread
From: David Miller @ 2009-05-27 4:39 UTC (permalink / raw)
To: netdev; +Cc: kay.sievers, greg
Signed-off-by: David S. Miller <davem@davemloft.net>
---
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 af305c0..cfb4198 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;
--
1.6.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-27 4:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-27 4:39 [PATCH 3/6]: cpmac: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).