Kernel version < 3.4 has problems with tracing, deactivate it in the mt7601u driver for these kernel versions. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- .../network/0022-define-tracing/mt7601u.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/collateral-evolutions/network/0022-define-tracing/mt7601u.patch diff --git a/patches/collateral-evolutions/network/0022-define-tracing/mt7601u.patch b/patches/collateral-evolutions/network/0022-define-tracing/mt7601u.patch new file mode 100644 index 0000000..688f4c8 --- /dev/null +++ b/patches/collateral-evolutions/network/0022-define-tracing/mt7601u.patch @@ -0,0 +1,12 @@ +--- a/drivers/net/wireless/mediatek/mt7601u/trace.c ++++ b/drivers/net/wireless/mediatek/mt7601u/trace.c +@@ -15,6 +15,9 @@ + #include <linux/module.h> + + #ifndef __CHECKER__ ++#if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0) ++#include "trace.h" ++#endif + #define CREATE_TRACE_POINTS + #include "trace.h" + -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html