aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgb/ixgb_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgb/ixgb_main.c')
-rw-r--r--drivers/net/ixgb/ixgb_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c
index 6959735d4eba..fee4c5aac31b 100644
--- a/drivers/net/ixgb/ixgb_main.c
+++ b/drivers/net/ixgb/ixgb_main.c
@@ -2190,7 +2190,7 @@ ixgb_restore_vlan(struct ixgb_adapter *adapter)
2190 2190
2191static void ixgb_netpoll(struct net_device *dev) 2191static void ixgb_netpoll(struct net_device *dev)
2192{ 2192{
2193 struct ixgb_adapter *adapter = dev->priv; 2193 struct ixgb_adapter *adapter = netdev_priv(dev);
2194 2194
2195 disable_irq(adapter->pdev->irq); 2195 disable_irq(adapter->pdev->irq);
2196 ixgb_intr(adapter->pdev->irq, dev, NULL); 2196 ixgb_intr(adapter->pdev->irq, dev, NULL);