forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/net/ethernet/sun/sunqe.c
....@@ -28,6 +28,7 @@
2828 #include <linux/dma-mapping.h>
2929 #include <linux/of.h>
3030 #include <linux/of_device.h>
31
+#include <linux/pgtable.h>
3132
3233 #include <asm/io.h>
3334 #include <asm/dma.h>
....@@ -36,7 +37,6 @@
3637 #include <asm/openprom.h>
3738 #include <asm/oplib.h>
3839 #include <asm/auxio.h>
39
-#include <asm/pgtable.h>
4040 #include <asm/irq.h>
4141
4242 #include "sunqe.h"
....@@ -544,7 +544,7 @@
544544 qep->tx_old = elem;
545545 }
546546
547
-static void qe_tx_timeout(struct net_device *dev)
547
+static void qe_tx_timeout(struct net_device *dev, unsigned int txqueue)
548548 {
549549 struct sunqe *qep = netdev_priv(dev);
550550 int tx_full;