diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-31 21:50:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-01 10:13:40 +0200 |
commit | 424efe9caf6047ffbcd6b383ff4d2347254aabf1 (patch) | |
tree | d0ed516baa5b452ed8bc3a88fbd061f6e415bfb9 /drivers/net/macvlan.c | |
parent | irda: convert to netdev_tx_t (diff) | |
download | linux-424efe9caf6047ffbcd6b383ff4d2347254aabf1.tar.xz linux-424efe9caf6047ffbcd6b383ff4d2347254aabf1.zip |
netdev: convert pseudo drivers to netdev_tx_t
These are all drivers that don't touch real hardware.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macvlan.c')
-rw-r--r-- | drivers/net/macvlan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 99eed9f37c84..f893cd41580a 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c @@ -184,7 +184,8 @@ static struct sk_buff *macvlan_handle_frame(struct sk_buff *skb) return NULL; } -static int macvlan_start_xmit(struct sk_buff *skb, struct net_device *dev) +static netdev_tx_t macvlan_start_xmit(struct sk_buff *skb, + struct net_device *dev) { const struct macvlan_dev *vlan = netdev_priv(dev); unsigned int len = skb->len; |