aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/mv643xx_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c
index 771139e283af..d65cadef4d22 100644
--- a/drivers/net/mv643xx_eth.c
+++ b/drivers/net/mv643xx_eth.c
@@ -3156,7 +3156,7 @@ struct mv643xx_stats {
3156 int stat_offset; 3156 int stat_offset;
3157}; 3157};
3158 3158
3159#define MV643XX_STAT(m) sizeof(((struct mv643xx_private *)0)->m), \ 3159#define MV643XX_STAT(m) FIELD_SIZEOF(struct mv643xx_private, m), \
3160 offsetof(struct mv643xx_private, m) 3160 offsetof(struct mv643xx_private, m)
3161 3161
3162static const struct mv643xx_stats mv643xx_gstrings_stats[] = { 3162static const struct mv643xx_stats mv643xx_gstrings_stats[] = {