summaryrefslogtreecommitdiffstats
path: root/include/drm/ttm/ttm_object.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-04-24 13:50:20 +0900
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-05-16 17:17:16 +0200
commit2da83319a19f9d9e0058e4c0a6a115b8456fcd48 (patch)
treef190ba43a03ef805f4f8c0016da76b4b8b4135d3 /include/drm/ttm/ttm_object.h
parente4e818cc2d7ccfa76d258e4a63ceba9880591303 (diff)
downloadlinux-2da83319a19f9d9e0058e4c0a6a115b8456fcd48.tar.bz2
drm/ttm: fix include notation and remove -Iinclude/drm flag
For the C file, include <drm/*.h> instead of relative path from include/drm. For headers in include/drm/ttm, simplify the <tty/*.h> with "*.h". This allows us to remove the -Iinclude/drm compiler flag from drivers/gpu/drm/ttm/Makefile (and from other drivers' Makefiles). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1493009447-31524-3-git-send-email-yamada.masahiro@socionext.com
Diffstat (limited to 'include/drm/ttm/ttm_object.h')
-rw-r--r--include/drm/ttm/ttm_object.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/ttm/ttm_object.h b/include/drm/ttm/ttm_object.h
index 1487011fe057..a98bfeb4239e 100644
--- a/include/drm/ttm/ttm_object.h
+++ b/include/drm/ttm/ttm_object.h
@@ -42,7 +42,8 @@
#include <linux/kref.h>
#include <linux/rcupdate.h>
#include <linux/dma-buf.h>
-#include <ttm/ttm_memory.h>
+
+#include "ttm_memory.h"
/**
* enum ttm_ref_type