diff options
Diffstat (limited to 'drivers/net/gianfar.c')
-rw-r--r-- | drivers/net/gianfar.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c index 64b201134fdb..15c422387028 100644 --- a/drivers/net/gianfar.c +++ b/drivers/net/gianfar.c | |||
@@ -162,7 +162,6 @@ static int gfar_probe(struct platform_device *pdev) | |||
162 | struct gianfar_platform_data *einfo; | 162 | struct gianfar_platform_data *einfo; |
163 | struct resource *r; | 163 | struct resource *r; |
164 | int err = 0, irq; | 164 | int err = 0, irq; |
165 | DECLARE_MAC_BUF(mac); | ||
166 | 165 | ||
167 | einfo = (struct gianfar_platform_data *) pdev->dev.platform_data; | 166 | einfo = (struct gianfar_platform_data *) pdev->dev.platform_data; |
168 | 167 | ||
@@ -364,8 +363,7 @@ static int gfar_probe(struct platform_device *pdev) | |||
364 | gfar_init_sysfs(dev); | 363 | gfar_init_sysfs(dev); |
365 | 364 | ||
366 | /* Print out the device info */ | 365 | /* Print out the device info */ |
367 | printk(KERN_INFO DEVICE_NAME "%s\n", | 366 | printk(KERN_INFO DEVICE_NAME "%pM\n", dev->name, dev->dev_addr); |
368 | dev->name, print_mac(mac, dev->dev_addr)); | ||
369 | 367 | ||
370 | /* Even more device info helps when determining which kernel */ | 368 | /* Even more device info helps when determining which kernel */ |
371 | /* provided which set of benchmarks. */ | 369 | /* provided which set of benchmarks. */ |