diff options
Diffstat (limited to 'drivers/net/de600.c')
-rw-r--r-- | drivers/net/de600.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/de600.c b/drivers/net/de600.c index cb849b091f98..2826c7473e5e 100644 --- a/drivers/net/de600.c +++ b/drivers/net/de600.c | |||
@@ -384,7 +384,6 @@ static struct net_device * __init de600_probe(void) | |||
384 | int i; | 384 | int i; |
385 | struct net_device *dev; | 385 | struct net_device *dev; |
386 | int err; | 386 | int err; |
387 | DECLARE_MAC_BUF(mac); | ||
388 | 387 | ||
389 | dev = alloc_etherdev(0); | 388 | dev = alloc_etherdev(0); |
390 | if (!dev) | 389 | if (!dev) |
@@ -439,7 +438,7 @@ static struct net_device * __init de600_probe(void) | |||
439 | goto out1; | 438 | goto out1; |
440 | } | 439 | } |
441 | 440 | ||
442 | printk(", Ethernet Address: %s\n", print_mac(mac, dev->dev_addr)); | 441 | printk(", Ethernet Address: %pM\n", dev->dev_addr); |
443 | 442 | ||
444 | dev->open = de600_open; | 443 | dev->open = de600_open; |
445 | dev->stop = de600_close; | 444 | dev->stop = de600_close; |