diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-31 21:50:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-01 10:13:22 +0200 |
commit | 25a79c41ce0ce88a4288adf278e9b0e00f228383 (patch) | |
tree | 4b1c76c704c3956478e76b51d34643a1caf80368 /drivers/net/usb/pegasus.c | |
parent | isdn: convert to netdev_tx_t (diff) | |
download | linux-25a79c41ce0ce88a4288adf278e9b0e00f228383.tar.xz linux-25a79c41ce0ce88a4288adf278e9b0e00f228383.zip |
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/net/usb/pegasus.c')
-rw-r--r-- | drivers/net/usb/pegasus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/usb/pegasus.c b/drivers/net/usb/pegasus.c index 69d2df95ac86..7b935b846424 100644 --- a/drivers/net/usb/pegasus.c +++ b/drivers/net/usb/pegasus.c @@ -876,7 +876,8 @@ static void pegasus_tx_timeout(struct net_device *net) pegasus->stats.tx_errors++; } -static int pegasus_start_xmit(struct sk_buff *skb, struct net_device *net) +static netdev_tx_t pegasus_start_xmit(struct sk_buff *skb, + struct net_device *net) { pegasus_t *pegasus = netdev_priv(net); int count = ((skb->len + 2) & 0x3f) ? skb->len + 2 : skb->len + 3; |