]> git.pld-linux.org Git - packages/r8168.git/blob - linux-3.15.patch
ee5ba05b4baf0b57bb9ea032e5ab911aa0abb5ab
[packages/r8168.git] / linux-3.15.patch
1 --- r8168-8.038.00/src/r8168_n.c~       2014-01-08 09:56:43.000000000 +0100
2 +++ r8168-8.038.00/src/r8168_n.c        2014-07-10 22:02:50.895076111 +0200
3 @@ -19119,7 +19119,11 @@
4  {
5      struct rtl8168_private *tp = netdev_priv(dev);
6  
7 +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0)
8      PREPARE_DELAYED_WORK(&tp->task, task);
9 +#else
10 +    INIT_DELAYED_WORK(&tp->task, task);
11 +#endif
12      schedule_delayed_work(&tp->task, 4);
13  }
14  #endif
This page took 0.029537 seconds and 2 git commands to generate.