From: Luis R. Rodriguez Date: Tue, 4 Aug 2009 20:36:24 +0000 (-0700) Subject: Move mac80211/driver-trace.h changes to 07-header-changes.patch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ad6a95111701454dcf308146da83a7b50370dfce;p=openwrt%2Fstaging%2Fblogic.git Move mac80211/driver-trace.h changes to 07-header-changes.patch Signed-off-by: Luis R. Rodriguez --- diff --git a/compat/compat.diff b/compat/compat.diff index 3c5c1b866012..6fe3b16eb63e 100644 --- a/compat/compat.diff +++ b/compat/compat.diff @@ -57,25 +57,6 @@ /* ---- a/net/mac80211/driver-trace.h -+++ b/net/mac80211/driver-trace.h -@@ -1,7 +1,9 @@ - #if !defined(__MAC80211_DRIVER_TRACE) || defined(TRACE_HEADER_MULTI_READ) - #define __MAC80211_DRIVER_TRACE - -+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27)) - #include -+#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27)) */ - #include - #include "ieee80211_i.h" - -@@ -645,4 +647,6 @@ TRACE_EVENT(drv_ampdu_action, - #define TRACE_INCLUDE_PATH . - #undef TRACE_INCLUDE_FILE - #define TRACE_INCLUDE_FILE driver-trace -+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) - #include -+#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) */ --- a/net/mac80211/key.c +++ b/net/mac80211/key.c @@ -21,6 +21,9 @@ diff --git a/compat/diffs/07-header-changes.patch b/compat/diffs/07-header-changes.patch index b8d020bdb454..3a6f295726a3 100644 --- a/compat/diffs/07-header-changes.patch +++ b/compat/diffs/07-header-changes.patch @@ -34,3 +34,22 @@ #include #include "wl1251.h" +--- a/net/mac80211/driver-trace.h ++++ b/net/mac80211/driver-trace.h +@@ -1,7 +1,9 @@ + #if !defined(__MAC80211_DRIVER_TRACE) || defined(TRACE_HEADER_MULTI_READ) + #define __MAC80211_DRIVER_TRACE + ++#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27)) + #include ++#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27)) */ + #include + #include "ieee80211_i.h" + +@@ -645,4 +647,6 @@ TRACE_EVENT(drv_ampdu_action, + #define TRACE_INCLUDE_PATH . + #undef TRACE_INCLUDE_FILE + #define TRACE_INCLUDE_FILE driver-trace ++#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) + #include ++#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) */