dect
/
linux-2.6
Archived
13
0
Fork 0

mv643xx_eth: fix 'netdev_priv(dev) == dev->priv' assumption

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
This commit is contained in:
Lennert Buytenhek 2008-08-24 05:59:16 +02:00 committed by Lennert Buytenhek
parent 24342c34a0
commit b987384123
1 changed files with 1 additions and 1 deletions

View File

@ -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);