diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-08-24 05:59:16 +0200 |
---|---|---|
committer | Lennert Buytenhek <buytenh@marvell.com> | 2008-09-05 06:33:57 +0200 |
commit | b98738412372d6bcba1548b6b439f49023e25a34 (patch) | |
tree | 8eb9af7f6a30f9ad87ed88f8924bb49d75c683c9 | |
parent | Linux 2.6.27-rc5 (diff) | |
download | linux-b98738412372d6bcba1548b6b439f49023e25a34.tar.xz linux-b98738412372d6bcba1548b6b439f49023e25a34.zip |
mv643xx_eth: fix 'netdev_priv(dev) == dev->priv' assumption
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
-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, struct ethtool_stats *stats, uint64_t *data) { - struct mv643xx_eth_private *mp = dev->priv; + struct mv643xx_eth_private *mp = netdev_priv(dev); int i; mib_counters_update(mp); |