summarylogtreecommitdiffstats
path: root/linux-4.6.patch
diff options
context:
space:
mode:
authorAlex Wiggins2016-06-15 00:03:50 +0100
committerAlex Wiggins2016-06-15 00:03:50 +0100
commit5b7f8d0f621dd2c007b4832bbf7cdcf69c463ba5 (patch)
tree18b7780eb3b8dc1544dfd27595f1554b2230fa70 /linux-4.6.patch
parent8c8fd748133454638133536326ed80a6efb918b6 (diff)
downloadaur-5b7f8d0f621dd2c007b4832bbf7cdcf69c463ba5.tar.gz
Added patch to allow compilation with kernel 4.6
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 000000000000..703b9e2edf29
--- /dev/null
+++ b/linux-4.6.patch
@@ -0,0 +1,14 @@
+--- setup/Linux/oss/build/pci_wrapper.inc 2014-08-31 19:40:14.000000000 +0100
++++ setup/Linux/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)
+ {