summaryrefslogtreecommitdiffstats
path: root/include/trace/events/napi.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-07-20 19:39:43 +0900
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-07-30 21:49:06 -0400
commitb1d45c23284e55a379f85554a27a548b7988d47a (patch)
tree46e80ccf892dbbd2d5f079b1f4370d39638a3224 /include/trace/events/napi.h
parent609488bc979f99f805f34e9a32c1e3b71179d10b (diff)
downloadlinux-b1d45c23284e55a379f85554a27a548b7988d47a.tar.gz
linux-b1d45c23284e55a379f85554a27a548b7988d47a.tar.bz2
linux-b1d45c23284e55a379f85554a27a548b7988d47a.zip
tracing: Fix header include guards in trace event headers
These include guards are broken. Match the #if !define() and #define lines so that they work correctly. Link: http://lkml.kernel.org/r/20190720103943.16982-1-yamada.masahiro@socionext.com Fixes: f54d1867005c3 ("dma-buf: Rename struct fence to dma_fence") Fixes: 2e26ca7150a4f ("tracing: Fix tracepoint.h DECLARE_TRACE() to allow more than one header") Fixes: e543002f77f46 ("qdisc: add tracepoint qdisc:qdisc_dequeue for dequeued SKBs") Fixes: 95f295f9fe081 ("dmaengine: tegra: add tracepoints to driver") Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/events/napi.h')
-rw-r--r--include/trace/events/napi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/events/napi.h b/include/trace/events/napi.h
index f3a12566bed0..6678cf8b235b 100644
--- a/include/trace/events/napi.h
+++ b/include/trace/events/napi.h
@@ -3,7 +3,7 @@
#define TRACE_SYSTEM napi
#if !defined(_TRACE_NAPI_H) || defined(TRACE_HEADER_MULTI_READ)
-#define _TRACE_NAPI_H_
+#define _TRACE_NAPI_H
#include <linux/netdevice.h>
#include <linux/tracepoint.h>
@@ -38,7 +38,7 @@ TRACE_EVENT(napi_poll,
#undef NO_DEV
-#endif /* _TRACE_NAPI_H_ */
+#endif /* _TRACE_NAPI_H */
/* This part must be outside protection */
#include <trace/define_trace.h>