drm/ttm: Fix trace include path (v2)
authorTom St Denis <tom.stdenis@amd.com>
Fri, 1 Sep 2017 16:52:38 +0000 (12:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Sep 2017 19:00:45 +0000 (15:00 -0400)
Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(v2): Drop Makefile change too.

drivers/gpu/drm/ttm/Makefile
drivers/gpu/drm/ttm/ttm_trace.h

index a44fdfb..ab2bef1 100644 (file)
@@ -1,7 +1,6 @@
 #
 # Makefile for the drm device driver.  This driver provides support for the
 
-ccflags-y := -I$(src)/.
 ttm-y := ttm_memory.o ttm_tt.o ttm_bo.o \
        ttm_bo_util.o ttm_bo_vm.o ttm_module.o \
        ttm_object.o ttm_lock.o ttm_execbuf_util.o ttm_page_alloc.o \
index 23279b9..715ce68 100644 (file)
@@ -82,6 +82,6 @@ TRACE_EVENT(ttm_dma_unmap,
 
 /* This part must be outside protection */
 #undef TRACE_INCLUDE_PATH
-#define TRACE_INCLUDE_PATH .
+#define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/ttm/
 #include <trace/define_trace.h>