]> git.pld-linux.org Git - packages/r8168.git/blobdiff - linux-3.15.patch
- up to 8.038.00
[packages/r8168.git] / linux-3.15.patch
diff --git a/linux-3.15.patch b/linux-3.15.patch
new file mode 100644 (file)
index 0000000..ee5ba05
--- /dev/null
@@ -0,0 +1,14 @@
+--- r8168-8.038.00/src/r8168_n.c~      2014-01-08 09:56:43.000000000 +0100
++++ r8168-8.038.00/src/r8168_n.c       2014-07-10 22:02:50.895076111 +0200
+@@ -19119,7 +19119,11 @@
+ {
+     struct rtl8168_private *tp = netdev_priv(dev);
++#if LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0)
+     PREPARE_DELAYED_WORK(&tp->task, task);
++#else
++    INIT_DELAYED_WORK(&tp->task, task);
++#endif
+     schedule_delayed_work(&tp->task, 4);
+ }
+ #endif
This page took 0.04413 seconds and 4 git commands to generate.