aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mv643xx_eth.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-08-23 23:59:16 -0400
committerLennert Buytenhek <buytenh@marvell.com>2008-09-05 00:33:57 -0400
commitb98738412372d6bcba1548b6b439f49023e25a34 (patch)
tree8eb9af7f6a30f9ad87ed88f8924bb49d75c683c9 /drivers/net/mv643xx_eth.c
parent24342c34a022ee90839873d91396045e12ef1090 (diff)
mv643xx_eth: fix 'netdev_priv(dev) == dev->priv' assumption
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-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 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);