summarylogtreecommitdiffstats
path: root/0001-linux-5.5.patch
diff options
context:
space:
mode:
authorWilliam Gathoye2020-06-09 09:31:32 +0200
committerWilliam Gathoye2020-06-09 09:53:33 +0200
commit8c31530d34b1ad489c00fa676164f4d30786a12c (patch)
treee4e1f9ca68541682e1feab4d871073f4c7a313c9 /0001-linux-5.5.patch
parent2f5bdbcb2a305d13443128cb010c23e2b9e3270f (diff)
downloadaur-8c31530d34b1ad489c00fa676164f4d30786a12c.tar.gz
Upgrade to 4.24 and patch for kernels > 5.5
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 00000000000..2919ca748d3
--- /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;