summaryrefslogtreecommitdiffstats
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/8390/zorro8390.c b/drivers/net/ethernet/8390/zorro8390.c
index 3aa9fe9999b..bcd27323b20 100644
--- a/drivers/net/ethernet/8390/zorro8390.c
+++ b/drivers/net/ethernet/8390/zorro8390.c
@@ -365,7 +365,7 @@ static int __devinit zorro8390_init(struct net_device *dev,
if (i)
return i;
- for (i = 0; i < ETHER_ADDR_LEN; i++)
+ for (i = 0; i < ETH_ALEN; i++)
dev->dev_addr[i] = SA_prom[i];
pr_debug("Found ethernet address: %pM\n", dev->dev_addr);