summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/litex/litex_liteeth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/litex/litex_liteeth.c')
-rw-r--r--drivers/net/ethernet/litex/litex_liteeth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/litex/litex_liteeth.c b/drivers/net/ethernet/litex/litex_liteeth.c
index fdd99f0de424..35f24e0f0934 100644
--- a/drivers/net/ethernet/litex/litex_liteeth.c
+++ b/drivers/net/ethernet/litex/litex_liteeth.c
@@ -152,7 +152,8 @@ static int liteeth_stop(struct net_device *netdev)
return 0;
}
-static int liteeth_start_xmit(struct sk_buff *skb, struct net_device *netdev)
+static netdev_tx_t liteeth_start_xmit(struct sk_buff *skb,
+ struct net_device *netdev)
{
struct liteeth *priv = netdev_priv(netdev);
void __iomem *txbuffer;