aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgb/ixgb_main.c
diff options
context:
space:
mode:
authorAuke Kok <auke\-jan.h.kok@intel.com>2006-08-31 17:27:50 -0400
committerAuke Kok <juke-jan.h.kok@intel.com>2006-08-31 17:27:50 -0400
commitf990b426afb2f6ed77ba9ec272bdfe3d5d3a3d39 (patch)
tree5300d4c5e2ef6fff286bddb0b8a937e21be7b1fb /drivers/net/ixgb/ixgb_main.c
parent5791704fbe6e1a23de29332e18840f8c90faf601 (diff)
ixgb: convert dev->priv to netdev_priv(dev).
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
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);