diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-31 15:50:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-01 04:13:28 -0400 |
commit | d71a674922e7519edb477ecb585e7d29d69c7aa7 (patch) | |
tree | 816f6936957d5dbe2670079f64bdbd1f52cec00d /drivers/net/wan/sdla.c | |
parent | 61a84108547c1c017683f15311ccbede249fc6fa (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/sdla.c')
-rw-r--r-- | drivers/net/wan/sdla.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wan/sdla.c b/drivers/net/wan/sdla.c index 1d637f407a0c..63c76458431c 100644 --- a/drivers/net/wan/sdla.c +++ b/drivers/net/wan/sdla.c | |||
@@ -651,7 +651,8 @@ static int sdla_dlci_conf(struct net_device *slave, struct net_device *master, i | |||
651 | **************************/ | 651 | **************************/ |
652 | 652 | ||
653 | /* NOTE: the DLCI driver deals with freeing the SKB!! */ | 653 | /* NOTE: the DLCI driver deals with freeing the SKB!! */ |
654 | static int sdla_transmit(struct sk_buff *skb, struct net_device *dev) | 654 | static netdev_tx_t sdla_transmit(struct sk_buff *skb, |
655 | struct net_device *dev) | ||
655 | { | 656 | { |
656 | struct frad_local *flp; | 657 | struct frad_local *flp; |
657 | int ret, addr, accept, i; | 658 | int ret, addr, accept, i; |
@@ -737,7 +738,7 @@ static int sdla_transmit(struct sk_buff *skb, struct net_device *dev) | |||
737 | if(flp->master[i]!=NULL) | 738 | if(flp->master[i]!=NULL) |
738 | netif_wake_queue(flp->master[i]); | 739 | netif_wake_queue(flp->master[i]); |
739 | } | 740 | } |
740 | return(ret); | 741 | return NETDEV_TX_OK; |
741 | } | 742 | } |
742 | 743 | ||
743 | static void sdla_receive(struct net_device *dev) | 744 | static void sdla_receive(struct net_device *dev) |