diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-31 15:50:42 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-01 04:13:10 -0400 |
commit | 3c805a22a3a178fc5aaadd518afa5358b78bf69e (patch) | |
tree | fe93630007876b4aaddb2fa8d92141df2f74e24c /net/atm/lec.c | |
parent | 6fef4c0c8eeff7de13007a5f56113475444a253d (diff) |
convert ATM 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 'net/atm/lec.c')
-rw-r--r-- | net/atm/lec.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/atm/lec.c b/net/atm/lec.c index 8e723c2654cb..b2d644560323 100644 --- a/net/atm/lec.c +++ b/net/atm/lec.c | |||
@@ -59,7 +59,8 @@ static unsigned char bridge_ula_lec[] = { 0x01, 0x80, 0xc2, 0x00, 0x00 }; | |||
59 | */ | 59 | */ |
60 | 60 | ||
61 | static int lec_open(struct net_device *dev); | 61 | static int lec_open(struct net_device *dev); |
62 | static int lec_start_xmit(struct sk_buff *skb, struct net_device *dev); | 62 | static netdev_tx_t lec_start_xmit(struct sk_buff *skb, |
63 | struct net_device *dev); | ||
63 | static int lec_close(struct net_device *dev); | 64 | static int lec_close(struct net_device *dev); |
64 | static void lec_init(struct net_device *dev); | 65 | static void lec_init(struct net_device *dev); |
65 | static struct lec_arp_table *lec_arp_find(struct lec_priv *priv, | 66 | static struct lec_arp_table *lec_arp_find(struct lec_priv *priv, |
@@ -247,7 +248,8 @@ static void lec_tx_timeout(struct net_device *dev) | |||
247 | netif_wake_queue(dev); | 248 | netif_wake_queue(dev); |
248 | } | 249 | } |
249 | 250 | ||
250 | static int lec_start_xmit(struct sk_buff *skb, struct net_device *dev) | 251 | static netdev_tx_t lec_start_xmit(struct sk_buff *skb, |
252 | struct net_device *dev) | ||
251 | { | 253 | { |
252 | struct sk_buff *skb2; | 254 | struct sk_buff *skb2; |
253 | struct lec_priv *priv = netdev_priv(dev); | 255 | struct lec_priv *priv = netdev_priv(dev); |