diff options
Diffstat (limited to 'drivers/net/e1000e/netdev.c')
-rw-r--r-- | drivers/net/e1000e/netdev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index fa92a683aef..0f8d9619ade 100644 --- a/drivers/net/e1000e/netdev.c +++ b/drivers/net/e1000e/netdev.c | |||
@@ -4097,7 +4097,8 @@ static int e1000_maybe_stop_tx(struct net_device *netdev, int size) | |||
4097 | } | 4097 | } |
4098 | 4098 | ||
4099 | #define TXD_USE_COUNT(S, X) (((S) >> (X)) + 1 ) | 4099 | #define TXD_USE_COUNT(S, X) (((S) >> (X)) + 1 ) |
4100 | static int e1000_xmit_frame(struct sk_buff *skb, struct net_device *netdev) | 4100 | static netdev_tx_t e1000_xmit_frame(struct sk_buff *skb, |
4101 | struct net_device *netdev) | ||
4101 | { | 4102 | { |
4102 | struct e1000_adapter *adapter = netdev_priv(netdev); | 4103 | struct e1000_adapter *adapter = netdev_priv(netdev); |
4103 | struct e1000_ring *tx_ring = adapter->tx_ring; | 4104 | struct e1000_ring *tx_ring = adapter->tx_ring; |