ixgb: convert dev->priv to netdev_priv(dev).
authorAuke Kok <auke\-jan.h.kok@intel.com>
Thu, 31 Aug 2006 21:27:50 +0000 (14:27 -0700)
committerAuke Kok <juke-jan.h.kok@intel.com>
Thu, 31 Aug 2006 21:27:50 +0000 (14:27 -0700)
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
drivers/net/ixgb/ixgb_main.c

index 6959735..fee4c5a 100644 (file)
@@ -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);