aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/hd64572.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-08-31 15:50:47 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-01 04:13:28 -0400
commitd71a674922e7519edb477ecb585e7d29d69c7aa7 (patch)
tree816f6936957d5dbe2670079f64bdbd1f52cec00d /drivers/net/wan/hd64572.c
parent61a84108547c1c017683f15311ccbede249fc6fa (diff)
wan: convert drivers 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/wan/hd64572.c')
-rw-r--r--drivers/net/wan/hd64572.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wan/hd64572.c b/drivers/net/wan/hd64572.c
index f099c34a3ae2..84f01373e11f 100644
--- a/drivers/net/wan/hd64572.c
+++ b/drivers/net/wan/hd64572.c
@@ -562,7 +562,7 @@ static void sca_dump_rings(struct net_device *dev)
562#endif /* DEBUG_RINGS */ 562#endif /* DEBUG_RINGS */
563 563
564 564
565static int sca_xmit(struct sk_buff *skb, struct net_device *dev) 565static netdev_tx_t sca_xmit(struct sk_buff *skb, struct net_device *dev)
566{ 566{
567 port_t *port = dev_to_port(dev); 567 port_t *port = dev_to_port(dev);
568 card_t *card = port->card; 568 card_t *card = port->card;
@@ -601,7 +601,7 @@ static int sca_xmit(struct sk_buff *skb, struct net_device *dev)
601 spin_unlock_irq(&port->lock); 601 spin_unlock_irq(&port->lock);
602 602
603 dev_kfree_skb(skb); 603 dev_kfree_skb(skb);
604 return 0; 604 return NETDEV_TX_OK;
605} 605}
606 606
607 607