diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-31 15:50:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-01 04:13:55 -0400 |
commit | 0fc480987e69f22b9212f087545b4d1ca6950807 (patch) | |
tree | a02c24afd26b2caff6fcc8fea9e2f3f76bf87cc9 /drivers/net/appletalk/ipddp.c | |
parent | 3b29a56d31d585d39bf9ffe9ef1f10bd637ee0f1 (diff) |
appletalk: 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/appletalk/ipddp.c')
-rw-r--r-- | drivers/net/appletalk/ipddp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/appletalk/ipddp.c b/drivers/net/appletalk/ipddp.c index 6cfd961bb8de..bea87da97e34 100644 --- a/drivers/net/appletalk/ipddp.c +++ b/drivers/net/appletalk/ipddp.c | |||
@@ -48,7 +48,8 @@ static int ipddp_mode = IPDDP_DECAP; | |||
48 | #endif | 48 | #endif |
49 | 49 | ||
50 | /* Index to functions, as function prototypes. */ | 50 | /* Index to functions, as function prototypes. */ |
51 | static int ipddp_xmit(struct sk_buff *skb, struct net_device *dev); | 51 | static netdev_tx_t ipddp_xmit(struct sk_buff *skb, |
52 | struct net_device *dev); | ||
52 | static int ipddp_create(struct ipddp_route *new_rt); | 53 | static int ipddp_create(struct ipddp_route *new_rt); |
53 | static int ipddp_delete(struct ipddp_route *rt); | 54 | static int ipddp_delete(struct ipddp_route *rt); |
54 | static struct ipddp_route* __ipddp_find_route(struct ipddp_route *rt); | 55 | static struct ipddp_route* __ipddp_find_route(struct ipddp_route *rt); |
@@ -113,7 +114,7 @@ static struct net_device * __init ipddp_init(void) | |||
113 | /* | 114 | /* |
114 | * Transmit LLAP/ELAP frame using aarp_send_ddp. | 115 | * Transmit LLAP/ELAP frame using aarp_send_ddp. |
115 | */ | 116 | */ |
116 | static int ipddp_xmit(struct sk_buff *skb, struct net_device *dev) | 117 | static netdev_tx_t ipddp_xmit(struct sk_buff *skb, struct net_device *dev) |
117 | { | 118 | { |
118 | __be32 paddr = skb_rtable(skb)->rt_gateway; | 119 | __be32 paddr = skb_rtable(skb)->rt_gateway; |
119 | struct ddpehdr *ddp; | 120 | struct ddpehdr *ddp; |