netdev: convert pseudo drivers to netdev_tx_t
[linux-block.git] / drivers / net / macvlan.c
index 99eed9f37c8417b0661b411db364571fb581f530..f893cd41580a0197a962abe39fe17190163af155 100644 (file)
@@ -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;