From: Auke Kok Date: Fri, 26 May 2006 16:35:57 +0000 (-0700) Subject: ixgb: replace netdev->priv with netdev_priv() X-Git-Tag: v2.6.18-rc1~1115^2~45 X-Git-Url: http://pilppa.org/gitweb/?a=commitdiff_plain;h=25943071b40580ba24e0a111e86b4869b9f5c07c;p=linux-2.6-omap-h63xx.git ixgb: replace netdev->priv with netdev_priv() fix netdev->priv ==> netdev_priv(netdev) Signed-off-by: Jesse Brandeburg Signed-off-by: Auke Kok Signed-off-by: John Ronciak --- diff --git a/drivers/net/ixgb/ixgb_ethtool.c b/drivers/net/ixgb/ixgb_ethtool.c index 6d8192f4314..949f69df00c 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_