aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/8390/zorro8390.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/8390/zorro8390.c')
-rw-r--r--drivers/net/ethernet/8390/zorro8390.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/8390/zorro8390.c b/drivers/net/ethernet/8390/zorro8390.c
index 35a500a21521..e8b4fe813a08 100644
--- a/drivers/net/ethernet/8390/zorro8390.c
+++ b/drivers/net/ethernet/8390/zorro8390.c
@@ -364,8 +364,7 @@ static int zorro8390_init(struct net_device *dev, unsigned long board,
if (i)
return i;
- for (i = 0; i < ETH_ALEN; i++)
- dev->dev_addr[i] = SA_prom[i];
+ eth_hw_addr_set(dev, SA_prom);
pr_debug("Found ethernet address: %pM\n", dev->dev_addr);