aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/trace.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2018-10-21 11:30:30 +0200
committerSimon Wunderlich <sw@simonwunderlich.de>2018-11-12 10:41:50 +0100
commit95d8f85c911331fc4b4a6039295b3fe1673c73e7 (patch)
tree2e628a4f67cbe4086edfbfec6aedc1fa0a54fa4d /net/batman-adv/trace.h
parentbatman-adv: Add includes for deprecation warning (diff)
downloadlinux-dev-95d8f85c911331fc4b4a6039295b3fe1673c73e7.tar.xz
linux-dev-95d8f85c911331fc4b4a6039295b3fe1673c73e7.zip
batman-adv: Improve includes for trace functionality
The batadv_dbg trace event uses different functionality and datastructures which are not directly associated with the trace infrastructure. It should not be expected that the trace headers indirectly provide them and instead include the required headers directly. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/trace.h')
-rw-r--r--net/batman-adv/trace.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/batman-adv/trace.h b/net/batman-adv/trace.h
index 3acda26a30ca..104784be94d7 100644
--- a/net/batman-adv/trace.h
+++ b/net/batman-adv/trace.h
@@ -21,7 +21,13 @@
#include "main.h"
+#include <linux/bug.h>
+#include <linux/kernel.h>
+#include <linux/netdevice.h>
+#include <linux/percpu.h>
+#include <linux/printk.h>
#include <linux/tracepoint.h>
+#include <linux/types.h>
#undef TRACE_SYSTEM
#define TRACE_SYSTEM batadv