aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgb
diff options
context:
space:
mode:
authorAuke Kok <auke\-jan.h.kok@intel.com>2006-08-31 14:27:50 -0700
committerAuke Kok <juke-jan.h.kok@intel.com>2006-08-31 14:27:50 -0700
commitf990b426afb2f6ed77ba9ec272bdfe3d5d3a3d39 (patch)
tree5300d4c5e2ef6fff286bddb0b8a937e21be7b1fb /drivers/net/ixgb
parent5791704fbe6e1a23de29332e18840f8c90faf601 (diff)
downloadkernel_samsung_smdk4412-f990b426afb2f6ed77ba9ec272bdfe3d5d3a3d39.zip
kernel_samsung_smdk4412-f990b426afb2f6ed77ba9ec272bdfe3d5d3a3d39.tar.gz
kernel_samsung_smdk4412-f990b426afb2f6ed77ba9ec272bdfe3d5d3a3d39.tar.bz2
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')
-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 6959735..fee4c5a 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);