aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/atarilance.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/atarilance.c')
-rw-r--r--drivers/net/atarilance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atarilance.c b/drivers/net/atarilance.c
index 97cca505cf90..17b9dbf7bd68 100644
--- a/drivers/net/atarilance.c
+++ b/drivers/net/atarilance.c
@@ -263,7 +263,7 @@ struct lance_addr {
263 (highest byte stripped) */ 263 (highest byte stripped) */
264}; 264};
265 265
266#define N_LANCE_ADDR (sizeof(lance_addr_list)/sizeof(*lance_addr_list)) 266#define N_LANCE_ADDR ARRAY_SIZE(lance_addr_list)
267 267
268 268
269/* Definitions for the Lance */ 269/* Definitions for the Lance */