summaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-12-01 17:20:32 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-12-01 17:20:32 +0000
commitc61b38dacb82c5f8c973f1a03c640956f093a6da (patch)
treecb0c693a05ce2a14b9ed9a9634e58d72441513c4 /package/kernel
parent3fb7e8b851b1ee6fa0c5d4b6ea4b525c141d5427 (diff)
downloadmaster-31e0f0ae-c61b38dacb82c5f8c973f1a03c640956f093a6da.tar.gz
master-31e0f0ae-c61b38dacb82c5f8c973f1a03c640956f093a6da.tar.bz2
master-31e0f0ae-c61b38dacb82c5f8c973f1a03c640956f093a6da.zip
mac80211: remove DMI_EXACT_MATCH
DMI_EXACT_MATCH was added to the kernel in version 3.10.21 and collides with backports version. DMI_EXACT_MATCH is only used by the intel GPU driver which is not build by OpenWrt, so remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38976
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/mac80211/patches/071-remove-DMI_EXACT_MATCH.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/071-remove-DMI_EXACT_MATCH.patch b/package/kernel/mac80211/patches/071-remove-DMI_EXACT_MATCH.patch
new file mode 100644
index 0000000000..e4868c6eb8
--- /dev/null
+++ b/package/kernel/mac80211/patches/071-remove-DMI_EXACT_MATCH.patch
@@ -0,0 +1,13 @@
+--- a/backport-include/linux/mod_devicetable.h
++++ b/backport-include/linux/mod_devicetable.h
+@@ -2,10 +2,6 @@
+ #define __BACKPORT_MOD_DEVICETABLE_H
+ #include_next <linux/mod_devicetable.h>
+
+-#if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0)
+-#define DMI_EXACT_MATCH(a, b) DMI_MATCH(DMI_PRODUCT_NAME, "BACKPORT_IGNORE")
+-#endif
+-
+ #ifndef HID_BUS_ANY
+ #define HID_BUS_ANY 0xffff
+ #endif