diff options
Diffstat (limited to 'drivers/net/skfp/smt.c')
-rw-r--r-- | drivers/net/skfp/smt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/skfp/smt.c b/drivers/net/skfp/smt.c index 75afc1f07ba0..ced2c8f76be7 100644 --- a/drivers/net/skfp/smt.c +++ b/drivers/net/skfp/smt.c | |||
@@ -1654,7 +1654,7 @@ static const struct smt_pdef { | |||
1654 | { SMT_P4053, 0, SWAP_SMT_P4053 } , | 1654 | { SMT_P4053, 0, SWAP_SMT_P4053 } , |
1655 | } ; | 1655 | } ; |
1656 | 1656 | ||
1657 | #define N_SMT_PLEN (sizeof(smt_pdef)/sizeof(smt_pdef[0])) | 1657 | #define N_SMT_PLEN ARRAY_SIZE(smt_pdef) |
1658 | 1658 | ||
1659 | int smt_check_para(struct s_smc *smc, struct smt_header *sm, | 1659 | int smt_check_para(struct s_smc *smc, struct smt_header *sm, |
1660 | const u_short list[]) | 1660 | const u_short list[]) |