diff options
author | Joe Perches <joe@perches.com> | 2011-11-16 09:38:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-16 20:23:17 -0500 |
commit | 104bf3fb963cbc39c6675b23d46d2c9ab3f311d8 (patch) | |
tree | c0f07ad8b1b299ce56e091f573fbfcab9959679d /drivers/net/ethernet/8390/stnic.c | |
parent | 6a3c910ca04ecd69b16dae47b26097a92c533828 (diff) | |
download | linux-104bf3fb963cbc39c6675b23d46d2c9ab3f311d8.tar.bz2 |
ethernet: Convert ETHER_ADDR_LEN uses to ETH_ALEN
Reduce the number of #defines, use the normal #define from if_ether.h
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/8390/stnic.c')
-rw-r--r-- | drivers/net/ethernet/8390/stnic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/8390/stnic.c b/drivers/net/ethernet/8390/stnic.c index d85f0a84bc7b..3b903759980a 100644 --- a/drivers/net/ethernet/8390/stnic.c +++ b/drivers/net/ethernet/8390/stnic.c @@ -114,7 +114,7 @@ static int __init stnic_probe(void) #ifdef CONFIG_SH_STANDARD_BIOS sh_bios_get_node_addr (stnic_eadr); #endif - for (i = 0; i < ETHER_ADDR_LEN; i++) + for (i = 0; i < ETH_ALEN; i++) dev->dev_addr[i] = stnic_eadr[i]; /* Set the base address to point to the NIC, not the "real" base! */ |