diff options
Diffstat (limited to 'drivers/net/cassini.c')
-rw-r--r-- | drivers/net/cassini.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cassini.c b/drivers/net/cassini.c index d66915d82b24..2bacb5e4604d 100644 --- a/drivers/net/cassini.c +++ b/drivers/net/cassini.c | |||
@@ -4394,7 +4394,7 @@ static struct { | |||
4394 | {"tx_fifo_errors"}, | 4394 | {"tx_fifo_errors"}, |
4395 | {"tx_packets"} | 4395 | {"tx_packets"} |
4396 | }; | 4396 | }; |
4397 | #define CAS_NUM_STAT_KEYS (sizeof(ethtool_cassini_statnames)/ETH_GSTRING_LEN) | 4397 | #define CAS_NUM_STAT_KEYS ARRAY_SIZE(ethtool_cassini_statnames) |
4398 | 4398 | ||
4399 | static struct { | 4399 | static struct { |
4400 | const int offsets; /* neg. values for 2nd arg to cas_read_phy */ | 4400 | const int offsets; /* neg. values for 2nd arg to cas_read_phy */ |