summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2019-03-15 16:33:16 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2019-03-28 00:08:12 +0100
commitf6a08448f05191582e2bfec564ceff146b4729e5 (patch)
tree797a97061275e59fd806a130565cc73f10becad9
parent8744e6588563c626a5b94f322d35af5f7bc97bc3 (diff)
backport: add include ftrace_event.h back to backport-4.0.c
At least one function, namely ftrace_print_array_seq(), still needs the ftrace_event.h header file, otherwise sparse may warning that it is declared as non-static without pre-declaration. Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
-rw-r--r--backport/compat/backport-4.0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backport/compat/backport-4.0.c b/backport/compat/backport-4.0.c
index 84a4c6bf..fbe0ddbc 100644
--- a/backport/compat/backport-4.0.c
+++ b/backport/compat/backport-4.0.c
@@ -15,6 +15,7 @@
#include <linux/printk.h>
#include <linux/export.h>
#include <linux/trace_seq.h>
+#include <linux/ftrace_event.h>
#include <asm/unaligned.h>
/**