diff options
-rw-r--r-- | drivers/net/mv643xx_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index 0a18b9e96da1..deee66dcd0ad 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -1277,7 +1277,7 @@ static void mv643xx_eth_get_ethtool_stats(struct net_device *dev, | |||
1277 | struct ethtool_stats *stats, | 1277 | struct ethtool_stats *stats, |
1278 | uint64_t *data) | 1278 | uint64_t *data) |
1279 | { | 1279 | { |
1280 | struct mv643xx_eth_private *mp = dev->priv; | 1280 | struct mv643xx_eth_private *mp = netdev_priv(dev); |
1281 | int i; | 1281 | int i; |
1282 | 1282 | ||
1283 | mib_counters_update(mp); | 1283 | mib_counters_update(mp); |