forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/net/ethernet/pasemi/pasemi_mac.c
....@@ -1423,7 +1423,7 @@
14231423 write_dma_reg(PAS_DMA_TXCHAN_INCR(txring->chan.chno), 2);
14241424 }
14251425
1426
-static int pasemi_mac_start_tx(struct sk_buff *skb, struct net_device *dev)
1426
+static netdev_tx_t pasemi_mac_start_tx(struct sk_buff *skb, struct net_device *dev)
14271427 {
14281428 struct pasemi_mac * const mac = netdev_priv(dev);
14291429 struct pasemi_mac_txring * const txring = tx_ring(mac);