summaryrefslogtreecommitdiff
path: root/package/mac80211
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-04-13 23:47:41 +0000
committerNicolas Thill <nico@openwrt.org>2010-04-13 23:47:41 +0000
commit5f5ed3f10957d53857d3ff230ec8d36c2823b289 (patch)
treeaacea1aa4bc8ff4d87e3ef47738e4663484ba683 /package/mac80211
parent6fd5014c56c4801aa8bee5e2345a58eac9f79105 (diff)
downloadmtk-20170518-5f5ed3f10957d53857d3ff230ec8d36c2823b289.zip
mtk-20170518-5f5ed3f10957d53857d3ff230ec8d36c2823b289.tar.gz
mtk-20170518-5f5ed3f10957d53857d3ff230ec8d36c2823b289.tar.bz2
package/mac80211: add a patch to fix package/carl9170 build failure
SVN-Revision: 20848
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/701-tracepoint_include_linux_version_h.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/701-tracepoint_include_linux_version_h.patch b/package/mac80211/patches/701-tracepoint_include_linux_version_h.patch
new file mode 100644
index 0000000..5516331
--- /dev/null
+++ b/package/mac80211/patches/701-tracepoint_include_linux_version_h.patch
@@ -0,0 +1,11 @@
+--- a/include/linux/tracepoint.h
++++ b/include/linux/tracepoint.h
+@@ -1,6 +1,8 @@
+ #ifndef _COMPAT_LINUX_TRACEPOINT_H
+ #define _COMPAT_LINUX_TRACEPOINT_H 1
+
++#include <linux/version.h>
++
+ #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27))
+ #include_next <linux/tracepoint.h>
+ #endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27)) */