blob: 2919ca748d3a9a0fdc8537cde434184cdedd8402 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
|