diff options
Diffstat (limited to 'drivers/net/irda/w83977af_ir.c')
-rw-r--r-- | drivers/net/irda/w83977af_ir.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/irda/w83977af_ir.c b/drivers/net/irda/w83977af_ir.c index 462bc437080f..551810fd2976 100644 --- a/drivers/net/irda/w83977af_ir.c +++ b/drivers/net/irda/w83977af_ir.c | |||
@@ -93,7 +93,8 @@ static int w83977af_close(struct w83977af_ir *self); | |||
93 | static int w83977af_probe(int iobase, int irq, int dma); | 93 | static int w83977af_probe(int iobase, int irq, int dma); |
94 | static int w83977af_dma_receive(struct w83977af_ir *self); | 94 | static int w83977af_dma_receive(struct w83977af_ir *self); |
95 | static int w83977af_dma_receive_complete(struct w83977af_ir *self); | 95 | static int w83977af_dma_receive_complete(struct w83977af_ir *self); |
96 | static int w83977af_hard_xmit(struct sk_buff *skb, struct net_device *dev); | 96 | static netdev_tx_t w83977af_hard_xmit(struct sk_buff *skb, |
97 | struct net_device *dev); | ||
97 | static int w83977af_pio_write(int iobase, __u8 *buf, int len, int fifo_size); | 98 | static int w83977af_pio_write(int iobase, __u8 *buf, int len, int fifo_size); |
98 | static void w83977af_dma_write(struct w83977af_ir *self, int iobase); | 99 | static void w83977af_dma_write(struct w83977af_ir *self, int iobase); |
99 | static void w83977af_change_speed(struct w83977af_ir *self, __u32 speed); | 100 | static void w83977af_change_speed(struct w83977af_ir *self, __u32 speed); |
@@ -490,7 +491,8 @@ static void w83977af_change_speed(struct w83977af_ir *self, __u32 speed) | |||
490 | * Sets up a DMA transfer to send the current frame. | 491 | * Sets up a DMA transfer to send the current frame. |
491 | * | 492 | * |
492 | */ | 493 | */ |
493 | static int w83977af_hard_xmit(struct sk_buff *skb, struct net_device *dev) | 494 | static netdev_tx_t w83977af_hard_xmit(struct sk_buff *skb, |
495 | struct net_device *dev) | ||
494 | { | 496 | { |
495 | struct w83977af_ir *self; | 497 | struct w83977af_ir *self; |
496 | __s32 speed; | 498 | __s32 speed; |