summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/Makefile
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-09-01 16:49:53 +0200
committerAlex Deucher <alexander.deucher@amd.com>2017-09-01 15:01:21 -0400
commit56d11d580974958bd3c7ae4a42368ae22cb50354 (patch)
tree097d09d8834a0358a7399368c4a549c0ff92a2a0 /drivers/gpu/drm/radeon/Makefile
parent1430f73beb7fd4655d3fbd2e373615eca016f9c3 (diff)
drm/radeon: 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. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/Makefile')
-rw-r--r--drivers/gpu/drm/radeon/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/Makefile b/drivers/gpu/drm/radeon/Makefile
index 4acbb944bcd2..be16c6390216 100644
--- a/drivers/gpu/drm/radeon/Makefile
+++ b/drivers/gpu/drm/radeon/Makefile
@@ -109,5 +109,3 @@ radeon-$(CONFIG_VGA_SWITCHEROO) += radeon_atpx_handler.o
radeon-$(CONFIG_ACPI) += radeon_acpi.o
obj-$(CONFIG_DRM_RADEON)+= radeon.o
-
-CFLAGS_radeon_trace_points.o := -I$(src)