X-Git-Url: http://git.pld-linux.org/?p=packages%2Fr8168.git;a=blobdiff_plain;f=linux-3.15.patch;fp=linux-3.15.patch;h=ee5ba05b4baf0b57bb9ea032e5ab911aa0abb5ab;hp=0000000000000000000000000000000000000000;hb=c8fcaa1f12159bd0fcbb2fa4550007a73f644826;hpb=2a8f34f5a8494f072743d58bc41842654b20ae7f diff --git a/linux-3.15.patch b/linux-3.15.patch new file mode 100644 index 0000000..ee5ba05 --- /dev/null +++ b/linux-3.15.patch @@ -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