summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgb/ixgb_main.c
diff options
context:
space:
mode:
authorAuke Kok <auke\-jan.h.kok@intel.com>2006-08-31 23:27:50 +0200
committerAuke Kok <juke-jan.h.kok@intel.com>2006-08-31 23:27:50 +0200
commitf990b426afb2f6ed77ba9ec272bdfe3d5d3a3d39 (patch)
tree5300d4c5e2ef6fff286bddb0b8a937e21be7b1fb /drivers/net/ixgb/ixgb_main.c
parentixgb: Convert dev_alloc_skb to netdev_alloc_skb. (diff)
downloadlinux-f990b426afb2f6ed77ba9ec272bdfe3d5d3a3d39.tar.xz
linux-f990b426afb2f6ed77ba9ec272bdfe3d5d3a3d39.zip
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);