diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-31 15:50:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-01 04:13:22 -0400 |
commit | 25a79c41ce0ce88a4288adf278e9b0e00f228383 (patch) | |
tree | 4b1c76c704c3956478e76b51d34643a1caf80368 /drivers/usb | |
parent | 8b62ff2dbc3d6c13997b9d440dfd0ed00e6df96d (diff) |
usbnet: convert to netdev_tx_t
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/u_ether.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c index aac69b591aeb..dc3ebd1e68ca 100644 --- a/drivers/usb/gadget/u_ether.c +++ b/drivers/usb/gadget/u_ether.c | |||
@@ -465,7 +465,8 @@ static inline int is_promisc(u16 cdc_filter) | |||
465 | return cdc_filter & USB_CDC_PACKET_TYPE_PROMISCUOUS; | 465 | return cdc_filter & USB_CDC_PACKET_TYPE_PROMISCUOUS; |
466 | } | 466 | } |
467 | 467 | ||
468 | static int eth_start_xmit(struct sk_buff *skb, struct net_device *net) | 468 | static netdev_tx_t eth_start_xmit(struct sk_buff *skb, |
469 | struct net_device *net) | ||
469 | { | 470 | { |
470 | struct eth_dev *dev = netdev_priv(net); | 471 | struct eth_dev *dev = netdev_priv(net); |
471 | int length = skb->len; | 472 | int length = skb->len; |