提交 b9873841 编写于 作者: L Lennert Buytenhek 提交者: Lennert Buytenhek

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

Signed-off-by: NLennert Buytenhek <buytenh@marvell.com>
上级 24342c34
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册