diff options
Diffstat (limited to 'drivers/net/rrunner.c')
-rw-r--r-- | drivers/net/rrunner.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/rrunner.c b/drivers/net/rrunner.c index 3dd8f1342f70..7343291030c5 100644 --- a/drivers/net/rrunner.c +++ b/drivers/net/rrunner.c | |||
@@ -511,7 +511,6 @@ static int __devinit rr_init(struct net_device *dev) | |||
511 | struct rr_private *rrpriv; | 511 | struct rr_private *rrpriv; |
512 | struct rr_regs __iomem *regs; | 512 | struct rr_regs __iomem *regs; |
513 | u32 sram_size, rev; | 513 | u32 sram_size, rev; |
514 | DECLARE_MAC_BUF(mac); | ||
515 | 514 | ||
516 | rrpriv = netdev_priv(dev); | 515 | rrpriv = netdev_priv(dev); |
517 | regs = rrpriv->regs; | 516 | regs = rrpriv->regs; |
@@ -549,7 +548,7 @@ static int __devinit rr_init(struct net_device *dev) | |||
549 | *(__be32 *)(dev->dev_addr+2) = | 548 | *(__be32 *)(dev->dev_addr+2) = |
550 | htonl(rr_read_eeprom_word(rrpriv, offsetof(struct eeprom, manf.BoardULA[4]))); | 549 | htonl(rr_read_eeprom_word(rrpriv, offsetof(struct eeprom, manf.BoardULA[4]))); |
551 | 550 | ||
552 | printk(" MAC: %s\n", print_mac(mac, dev->dev_addr)); | 551 | printk(" MAC: %pM\n", dev->dev_addr); |
553 | 552 | ||
554 | sram_size = rr_read_eeprom_word(rrpriv, 8); | 553 | sram_size = rr_read_eeprom_word(rrpriv, 8); |
555 | printk(" SRAM size 0x%06x\n", sram_size); | 554 | printk(" SRAM size 0x%06x\n", sram_size); |