summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/armada/armada_trace.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-09-01 16:49:51 +0200
committerThierry Reding <treding@nvidia.com>2017-09-05 11:11:20 +0200
commitf23ef8eda4e90e22e715170605e0a2a095820933 (patch)
treeaf6685e3f9adc880b85bf3ff79dcd35e3179f630 /drivers/gpu/drm/armada/armada_trace.h
parentd99ce553ed42c21b6fdd1230d5c74624ec90c38e (diff)
drm/armada: Use correct path to trace include
The header comment in include/trace/define_trace.h specifies that the TRACE_INCLUDE_PATH needs to be relative to the define_trace.h header rather than the trace file including it. Most instances get that wrong and work around it by adding the $(src) directory to the include path. While this works, it is preferable to refer to the correct path to the trace file in the first place and avoid any workaround. Acked-by: Christian König <christian.koenig@amd.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20170901144954.19620-3-thierry.reding@gmail.com
Diffstat (limited to 'drivers/gpu/drm/armada/armada_trace.h')
-rw-r--r--drivers/gpu/drm/armada/armada_trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/armada/armada_trace.h b/drivers/gpu/drm/armada/armada_trace.h
index dc0cba70fd1a..be245a24610f 100644
--- a/drivers/gpu/drm/armada/armada_trace.h
+++ b/drivers/gpu/drm/armada/armada_trace.h
@@ -62,5 +62,5 @@ TRACE_EVENT(armada_ovl_plane_work,
/* This part must be outside protection */
#undef TRACE_INCLUDE_PATH
-#define TRACE_INCLUDE_PATH .
+#define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/armada
#include <trace/define_trace.h>