diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-02-07 23:04:11 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-02-09 14:52:26 +0100 |
commit | e13e44d9a81da4bf77d9869db5b4764fc0811d9f (patch) | |
tree | c610ae2b0f634df75fe88f65a047e5c741c9b0af /patches/0022-define-tracing | |
parent | 46939c43903da6b202c95a0fcb24acce55fd63c0 (diff) |
backports: always use new version compare macros
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches/0022-define-tracing')
-rw-r--r-- | patches/0022-define-tracing/ath6kl.patch | 2 | ||||
-rw-r--r-- | patches/0022-define-tracing/cfg80211.patch | 2 | ||||
-rw-r--r-- | patches/0022-define-tracing/mt7601u.patch | 2 | ||||
-rw-r--r-- | patches/0022-define-tracing/wil6210.patch | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/patches/0022-define-tracing/ath6kl.patch b/patches/0022-define-tracing/ath6kl.patch index bdf455aa..d0bf8944 100644 --- a/patches/0022-define-tracing/ath6kl.patch +++ b/patches/0022-define-tracing/ath6kl.patch @@ -4,7 +4,7 @@ */ #include <linux/module.h> -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0) ++#if LINUX_VERSION_IS_LESS(3,1,0) +#include <linux/interrupt.h> +#endif diff --git a/patches/0022-define-tracing/cfg80211.patch b/patches/0022-define-tracing/cfg80211.patch index 95a0d6a8..e2b57a8c 100644 --- a/patches/0022-define-tracing/cfg80211.patch +++ b/patches/0022-define-tracing/cfg80211.patch @@ -2,7 +2,7 @@ +++ b/net/wireless/trace.c @@ -1,4 +1,7 @@ #include <linux/module.h> -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0) ++#if LINUX_VERSION_IS_LESS(3,1,0) +#include <linux/interrupt.h> +#endif diff --git a/patches/0022-define-tracing/mt7601u.patch b/patches/0022-define-tracing/mt7601u.patch index ea7bc809..1682a763 100644 --- a/patches/0022-define-tracing/mt7601u.patch +++ b/patches/0022-define-tracing/mt7601u.patch @@ -4,7 +4,7 @@ */ #include <linux/module.h> -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0) ++#if LINUX_VERSION_IS_LESS(3,4,0) +#include <linux/interrupt.h> +#endif diff --git a/patches/0022-define-tracing/wil6210.patch b/patches/0022-define-tracing/wil6210.patch index 5f4b43b9..2e51beb1 100644 --- a/patches/0022-define-tracing/wil6210.patch +++ b/patches/0022-define-tracing/wil6210.patch @@ -4,7 +4,7 @@ */ #include <linux/module.h> -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0) ++#if LINUX_VERSION_IS_LESS(3,1,0) +#include <linux/interrupt.h> +#endif |