diff options
Diffstat (limited to 'drivers/net/smc91x.c')
-rw-r--r-- | drivers/net/smc91x.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c index c70870e0fd61..37ff94bdbc83 100644 --- a/drivers/net/smc91x.c +++ b/drivers/net/smc91x.c | |||
@@ -1778,7 +1778,6 @@ static int __init smc_probe(struct net_device *dev, void __iomem *ioaddr, | |||
1778 | int retval; | 1778 | int retval; |
1779 | unsigned int val, revision_register; | 1779 | unsigned int val, revision_register; |
1780 | const char *version_string; | 1780 | const char *version_string; |
1781 | DECLARE_MAC_BUF(mac); | ||
1782 | 1781 | ||
1783 | DBG(2, "%s: %s\n", CARDNAME, __func__); | 1782 | DBG(2, "%s: %s\n", CARDNAME, __func__); |
1784 | 1783 | ||
@@ -1972,8 +1971,8 @@ static int __init smc_probe(struct net_device *dev, void __iomem *ioaddr, | |||
1972 | "set using ifconfig\n", dev->name); | 1971 | "set using ifconfig\n", dev->name); |
1973 | } else { | 1972 | } else { |
1974 | /* Print the Ethernet address */ | 1973 | /* Print the Ethernet address */ |
1975 | printk("%s: Ethernet addr: %s\n", | 1974 | printk("%s: Ethernet addr: %pM\n", |
1976 | dev->name, print_mac(mac, dev->dev_addr)); | 1975 | dev->name, dev->dev_addr); |
1977 | } | 1976 | } |
1978 | 1977 | ||
1979 | if (lp->phy_type == 0) { | 1978 | if (lp->phy_type == 0) { |