irda: convert to netdev_tx_t

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Stephen Hemminger
2009-08-31 19:50:50 +00:00
committed by David S. Miller
parent dbf02fae40
commit 6518bbb803
16 changed files with 64 additions and 37 deletions

View File

@ -385,7 +385,8 @@ static void ks959_send_irq(struct urb *urb)
/*
* Called from net/core when new frame is available.
*/
static int ks959_hard_xmit(struct sk_buff *skb, struct net_device *netdev)
static netdev_tx_t ks959_hard_xmit(struct sk_buff *skb,
struct net_device *netdev)
{
struct ks959_cb *kingsun;
unsigned int wraplen;