ixgb: convert dev->priv to netdev_priv(dev).
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
This commit is contained in:
parent
5791704fbe
commit
f990b426af
1 changed files with 1 additions and 1 deletions
|
@ -2190,7 +2190,7 @@ ixgb_restore_vlan(struct ixgb_adapter *adapter)
|
||||||
|
|
||||||
static void ixgb_netpoll(struct net_device *dev)
|
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);
|
disable_irq(adapter->pdev->irq);
|
||||||
ixgb_intr(adapter->pdev->irq, dev, NULL);
|
ixgb_intr(adapter->pdev->irq, dev, NULL);
|
||||||
|
|
Loading…
Reference in a new issue