summaryrefslogtreecommitdiffstats
path: root/drivers/net/mhi/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mhi/net.c')
-rw-r--r--drivers/net/mhi/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mhi/net.c b/drivers/net/mhi/net.c
index 832d9de42f62..6aa753387372 100644
--- a/drivers/net/mhi/net.c
+++ b/drivers/net/mhi/net.c
@@ -56,7 +56,7 @@ static int mhi_ndo_stop(struct net_device *ndev)
return 0;
}
-static int mhi_ndo_xmit(struct sk_buff *skb, struct net_device *ndev)
+static netdev_tx_t mhi_ndo_xmit(struct sk_buff *skb, struct net_device *ndev)
{
struct mhi_net_dev *mhi_netdev = netdev_priv(ndev);
const struct mhi_net_proto *proto = mhi_netdev->proto;