| .. | .. |
|---|
| 1518 | 1518 | /** |
|---|
| 1519 | 1519 | * Packet transmit function called by network stack |
|---|
| 1520 | 1520 | */ |
|---|
| 1521 | | -static int |
|---|
| 1522 | | -__lcs_start_xmit(struct lcs_card *card, struct sk_buff *skb, |
|---|
| 1523 | | - struct net_device *dev) |
|---|
| 1521 | +static netdev_tx_t __lcs_start_xmit(struct lcs_card *card, struct sk_buff *skb, |
|---|
| 1522 | + struct net_device *dev) |
|---|
| 1524 | 1523 | { |
|---|
| 1525 | 1524 | struct lcs_header *header; |
|---|
| 1526 | 1525 | int rc = NETDEV_TX_OK; |
|---|
| .. | .. |
|---|
| 1581 | 1580 | return rc; |
|---|
| 1582 | 1581 | } |
|---|
| 1583 | 1582 | |
|---|
| 1584 | | -static int |
|---|
| 1585 | | -lcs_start_xmit(struct sk_buff *skb, struct net_device *dev) |
|---|
| 1583 | +static netdev_tx_t lcs_start_xmit(struct sk_buff *skb, struct net_device *dev) |
|---|
| 1586 | 1584 | { |
|---|
| 1587 | 1585 | struct lcs_card *card; |
|---|
| 1588 | 1586 | int rc; |
|---|