Skip to content

Commit

Permalink
ixgb: convert dev->priv to netdev_priv(dev).
Browse files Browse the repository at this point in the history
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
  • Loading branch information
Auke Kok authored and Auke Kok committed Aug 31, 2006
1 parent 5791704 commit f990b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ixgb/ixgb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f990b42

Please sign in to comment.