summaryrefslogtreecommitdiff
path: root/drivers/net/ixgb/ixgb_main.c
diff options
context:
space:
mode:
authorAuke Kok <auke\-jan.h.kok@intel.com>2006-09-01 01:27:50 +0400
committerAuke Kok <juke-jan.h.kok@intel.com>2006-09-01 01:27:50 +0400
commitf990b426afb2f6ed77ba9ec272bdfe3d5d3a3d39 (patch)
tree5300d4c5e2ef6fff286bddb0b8a937e21be7b1fb /drivers/net/ixgb/ixgb_main.c
parent5791704fbe6e1a23de29332e18840f8c90faf601 (diff)
downloadlinux-f990b426afb2f6ed77ba9ec272bdfe3d5d3a3d39.tar.xz
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)
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);