From 44b5ae0566a3df3c76fc1b7f775976fa31691d5c Mon Sep 17 00:00:00 2001 From: hauke Date: Sun, 1 Dec 2013 17:20:32 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38976 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../mac80211/patches/071-remove-DMI_EXACT_MATCH.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/kernel/mac80211/patches/071-remove-DMI_EXACT_MATCH.patch 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 + +-#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 -- 2.11.0