summarylogtreecommitdiffstats
path: root/0001-linux-5.5.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-linux-5.5.patch')
-rw-r--r--0001-linux-5.5.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/0001-linux-5.5.patch b/0001-linux-5.5.patch
new file mode 100644
index 000000000000..2919ca748d3a
--- /dev/null
+++ b/0001-linux-5.5.patch
@@ -0,0 +1,14 @@
+--- a/axusbnet.c 2020-06-09 09:40:11.491845696 +0200
++++ b/axusbnet.c 2020-06-09 09:41:34.533243738 +0200
+@@ -1062,7 +1062,11 @@
+ /*-------------------------------------------------------------------------*/
+
+ static
++#if LINUX_VERSION_CODE > KERNEL_VERSION(5, 5, 0)
++void axusbnet_tx_timeout(struct net_device *net, unsigned int i)
++#else
+ void axusbnet_tx_timeout(struct net_device *net)
++#endif
+ {
+ struct usbnet *dev = netdev_priv(net);
+ struct driver_info *info = dev->driver_info;