diff options
Diffstat (limited to 'drivers/net/cpmac.c')
-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 678222389407..8d0be26f94e3 100644 --- a/drivers/net/cpmac.c +++ b/drivers/net/cpmac.c | |||
@@ -1163,7 +1163,7 @@ static int __devinit cpmac_probe(struct platform_device *pdev) | |||
1163 | priv->dev = dev; | 1163 | priv->dev = dev; |
1164 | priv->ring_size = 64; | 1164 | priv->ring_size = 64; |
1165 | priv->msg_enable = netif_msg_init(debug_level, 0xff); | 1165 | priv->msg_enable = netif_msg_init(debug_level, 0xff); |
1166 | memcpy(dev->dev_addr, pdata->dev_addr, sizeof(dev->dev_addr)); | 1166 | memcpy(dev->dev_addr, pdata->dev_addr, sizeof(pdata->dev_addr)); |
1167 | 1167 | ||
1168 | snprintf(priv->phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, mdio_bus_id, phy_id); | 1168 | snprintf(priv->phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, mdio_bus_id, phy_id); |
1169 | 1169 | ||