summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgb/ixgb_ethtool.c
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2006-05-26 09:35:57 -0700
committerAuke Kok <juke-jan.h.kok@intel.com>2006-05-26 09:35:57 -0700
commit25943071b40580ba24e0a111e86b4869b9f5c07c (patch)
treed0a098bec435e4a7db0bc3f043273ae189c324e1 /drivers/net/ixgb/ixgb_ethtool.c
parent235949d162076832b8b9a6e30ca51876c3fa11e8 (diff)
downloadblackbird-op-linux-25943071b40580ba24e0a111e86b4869b9f5c07c.tar.gz
blackbird-op-linux-25943071b40580ba24e0a111e86b4869b9f5c07c.zip
ixgb: replace netdev->priv with netdev_priv()
fix netdev->priv ==> netdev_priv(netdev) Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: John Ronciak <john.ronciak@intel.com>
Diffstat (limited to 'drivers/net/ixgb/ixgb_ethtool.c')
-rw-r--r--drivers/net/ixgb/ixgb_ethtool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixgb/ixgb_ethtool.c b/drivers/net/ixgb/ixgb_ethtool.c
index 6d8192f4314c..949f69df00ce 100644
--- a/drivers/net/ixgb/ixgb_ethtool.c
+++ b/drivers/net/ixgb/ixgb_ethtool.c
@@ -254,14 +254,14 @@ ixgb_set_tso(struct net_device *netdev, uint32_t data)
static uint32_t
ixgb_get_msglevel(struct net_device *netdev)
{
- struct ixgb_adapter *adapter = netdev->priv;
+ struct ixgb_adapter *adapter = netdev_priv(netdev);
return adapter->msg_enable;
}
static void
ixgb_set_msglevel(struct net_device *netdev, uint32_t data)
{
- struct ixgb_adapter *adapter = netdev->priv;
+ struct ixgb_adapter *adapter = netdev_priv(netdev);
adapter->msg_enable = data;
}
#define IXGB_GET_STAT(_A_, _R_) _A_->stats._R_
OpenPOWER on IntegriCloud