summarylogtreecommitdiffstats
path: root/linux-4.6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'linux-4.6.patch')
-rw-r--r--linux-4.6.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/linux-4.6.patch b/linux-4.6.patch
new file mode 100644
index 00000000000..475c25fadf9
--- /dev/null
+++ b/linux-4.6.patch
@@ -0,0 +1,14 @@
+--- /oss/build/pci_wrapper.inc 2014-08-31 19:40:14.000000000 +0100
++++ /oss/build/pci_wrapper.inc 2016-06-14 23:50:17.138446865 +0100
+@@ -71,8 +71,10 @@
+
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
+ static int __devexit
+-#else
++#elif LINUX_VERSION_CODE < KERNEL_VERSION(4,6,0)
+ static int
++#else
++ void
+ #endif
+ osspci_remove (struct pci_dev *pcidev)
+ {