diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-09-01 12:43:14 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-03 09:53:42 -0400 |
commit | 767e468c06fc0e88f95881c1056437688b37c7c6 (patch) | |
tree | 57bd196f5c71cc7cccc40dc8bb2c50fd7aadb16f /drivers/net/sfc/tx.c | |
parent | 2c10b32bf57db7ec6d4cca4c4aa3d86bacb01c8a (diff) | |
download | linux-767e468c06fc0e88f95881c1056437688b37c7c6.tar.gz linux-767e468c06fc0e88f95881c1056437688b37c7c6.tar.bz2 linux-767e468c06fc0e88f95881c1056437688b37c7c6.zip |
sfc: Replace net_dev->priv with netdev_priv(net_dev)
Use of the net_device::priv field is deprecated.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sfc/tx.c')
-rw-r--r-- | drivers/net/sfc/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/tx.c b/drivers/net/sfc/tx.c index 5e8374ab28ee..2a09101f67eb 100644 --- a/drivers/net/sfc/tx.c +++ b/drivers/net/sfc/tx.c @@ -367,7 +367,7 @@ inline int efx_xmit(struct efx_nic *efx, */ int efx_hard_start_xmit(struct sk_buff *skb, struct net_device *net_dev) { - struct efx_nic *efx = net_dev->priv; + struct efx_nic *efx = netdev_priv(net_dev); return efx_xmit(efx, &efx->tx_queue[0], skb); } |