From: Sven Eckelmann Date: Sun, 21 Oct 2018 09:30:30 +0000 (+0200) Subject: batman-adv: Improve includes for trace functionality X-Git-Tag: v5.15~7332^2~295^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95d8f85c911331fc4b4a6039295b3fe1673c73e7;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Simon Wunderlich --- diff --git a/net/batman-adv/trace.c b/net/batman-adv/trace.c index 3d57f99..8e10242 100644 --- a/net/batman-adv/trace.c +++ b/net/batman-adv/trace.c @@ -16,7 +16,5 @@ * along with this program; if not, see . */ -#include - #define CREATE_TRACE_POINTS #include "trace.h" diff --git a/net/batman-adv/trace.h b/net/batman-adv/trace.h index 3acda26..104784b 100644 --- a/net/batman-adv/trace.h +++ b/net/batman-adv/trace.h @@ -21,7 +21,13 @@ #include "main.h" +#include +#include +#include +#include +#include #include +#include #undef TRACE_SYSTEM #define TRACE_SYSTEM batadv