From: Tom St Denis Date: Fri, 1 Sep 2017 16:52:38 +0000 (-0400) Subject: drm/ttm: Fix trace include path (v2) X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=60233daca067cbef01fef6fdf457c1c11defcc90;p=openwrt%2Fstaging%2Fblogic.git drm/ttm: Fix trace include path (v2) Reviewed-by: Thierry Reding Reviewed-by: Christian König Signed-off-by: Tom St Denis Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher (v2): Drop Makefile change too. --- diff --git a/drivers/gpu/drm/ttm/Makefile b/drivers/gpu/drm/ttm/Makefile index a44fdfbe6351..ab2bef1219e5 100644 --- a/drivers/gpu/drm/ttm/Makefile +++ b/drivers/gpu/drm/ttm/Makefile @@ -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 \ diff --git a/drivers/gpu/drm/ttm/ttm_trace.h b/drivers/gpu/drm/ttm/ttm_trace.h index 23279b9b8e64..715ce68b7b33 100644 --- a/drivers/gpu/drm/ttm/ttm_trace.h +++ b/drivers/gpu/drm/ttm/ttm_trace.h @@ -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