diff options
Diffstat (limited to 'drivers/net/tsi108_eth.c')
-rw-r--r-- | drivers/net/tsi108_eth.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/tsi108_eth.c b/drivers/net/tsi108_eth.c index eb1da6f0b086..6924805e765e 100644 --- a/drivers/net/tsi108_eth.c +++ b/drivers/net/tsi108_eth.c | |||
@@ -1569,7 +1569,6 @@ tsi108_init_one(struct platform_device *pdev) | |||
1569 | struct tsi108_prv_data *data = NULL; | 1569 | struct tsi108_prv_data *data = NULL; |
1570 | hw_info *einfo; | 1570 | hw_info *einfo; |
1571 | int err = 0; | 1571 | int err = 0; |
1572 | DECLARE_MAC_BUF(mac); | ||
1573 | 1572 | ||
1574 | einfo = pdev->dev.platform_data; | 1573 | einfo = pdev->dev.platform_data; |
1575 | 1574 | ||
@@ -1659,8 +1658,8 @@ tsi108_init_one(struct platform_device *pdev) | |||
1659 | } | 1658 | } |
1660 | 1659 | ||
1661 | platform_set_drvdata(pdev, dev); | 1660 | platform_set_drvdata(pdev, dev); |
1662 | printk(KERN_INFO "%s: Tsi108 Gigabit Ethernet, MAC: %s\n", | 1661 | printk(KERN_INFO "%s: Tsi108 Gigabit Ethernet, MAC: %pM\n", |
1663 | dev->name, print_mac(mac, dev->dev_addr)); | 1662 | dev->name, dev->dev_addr); |
1664 | #ifdef DEBUG | 1663 | #ifdef DEBUG |
1665 | data->msg_enable = DEBUG; | 1664 | data->msg_enable = DEBUG; |
1666 | dump_eth_one(dev); | 1665 | dump_eth_one(dev); |