diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-04-24 13:50:28 +0900 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-05-17 14:35:54 +0200 |
commit | 78f27b1ce3f852543443b5d2f12a40f217e3555e (patch) | |
tree | 6f50c6b68b957298282a1ea0388c1096dd4d4bf8 /drivers/gpu/drm/msm/msm_fb.c | |
parent | 277b9fca48dd415d5d6521a382c8d24e2ea526a0 (diff) | |
download | op-kernel-dev-78f27b1ce3f852543443b5d2f12a40f217e3555e.zip op-kernel-dev-78f27b1ce3f852543443b5d2f12a40f217e3555e.tar.gz |
drm/msm: fix include notation and remove -Iinclude/drm flag
Include <drm/*.h> instead of relative path from include/drm, then
remove the -Iinclude/drm compiler flag.
While we are here, sort the touched parts with public headers first.
mdp4_kms.h must declare struct device_node to be self-contained.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1493009447-31524-11-git-send-email-yamada.masahiro@socionext.com
Diffstat (limited to 'drivers/gpu/drm/msm/msm_fb.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_fb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/msm/msm_fb.c b/drivers/gpu/drm/msm/msm_fb.c index 5cf165c..ba2733a 100644 --- a/drivers/gpu/drm/msm/msm_fb.c +++ b/drivers/gpu/drm/msm/msm_fb.c @@ -15,12 +15,12 @@ * this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <drm/drm_crtc.h> +#include <drm/drm_crtc_helper.h> + #include "msm_drv.h" #include "msm_kms.h" -#include "drm_crtc.h" -#include "drm_crtc_helper.h" - struct msm_framebuffer { struct drm_framebuffer base; const struct msm_format *format; |