diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-04-24 07:50:20 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-05-16 18:17:16 +0300 |
commit | 2da83319a19f9d9e0058e4c0a6a115b8456fcd48 (patch) | |
tree | f190ba43a03ef805f4f8c0016da76b4b8b4135d3 /include/drm/ttm/ttm_lock.h | |
parent | e4e818cc2d7ccfa76d258e4a63ceba9880591303 (diff) | |
download | linux-2da83319a19f9d9e0058e4c0a6a115b8456fcd48.tar.xz |
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_lock.h')
-rw-r--r-- | include/drm/ttm/ttm_lock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/ttm/ttm_lock.h b/include/drm/ttm/ttm_lock.h index 2902beb5f689..0c3af9836863 100644 --- a/include/drm/ttm/ttm_lock.h +++ b/include/drm/ttm/ttm_lock.h @@ -49,10 +49,11 @@ #ifndef _TTM_LOCK_H_ #define _TTM_LOCK_H_ -#include <ttm/ttm_object.h> #include <linux/wait.h> #include <linux/atomic.h> +#include "ttm_object.h" + /** * struct ttm_lock * |