summaryrefslogtreecommitdiff
path: root/drivers/net/ne2000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ne2000.c')
-rw-r--r--drivers/net/ne2000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ne2000.c b/drivers/net/ne2000.c
index 39391580fe..e6cd3e9ba0 100644
--- a/drivers/net/ne2000.c
+++ b/drivers/net/ne2000.c
@@ -228,7 +228,7 @@ int get_prom(u8* mac_addr, u8* base_addr)
mdelay (10);
- for (i = 0; i < sizeof (program_seq) / sizeof (program_seq[0]); i++)
+ for (i = 0; i < ARRAY_SIZE(program_seq); i++)
n2k_outb (program_seq[i].value, program_seq[i].offset);
PRINTK ("PROM:");