提交 f990b426 编写于 作者: A Auke Kok 提交者: Auke Kok

ixgb: convert dev->priv to netdev_priv(dev).

Signed-off-by: NAuke Kok <auke-jan.h.kok@intel.com>
上级 5791704f
......@@ -2190,7 +2190,7 @@ ixgb_restore_vlan(struct ixgb_adapter *adapter)
static void ixgb_netpoll(struct net_device *dev)
{
struct ixgb_adapter *adapter = dev->priv;
struct ixgb_adapter *adapter = netdev_priv(dev);
disable_irq(adapter->pdev->irq);
ixgb_intr(adapter->pdev->irq, dev, NULL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册