drm/hisilicon: 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.

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-9-git-send-email-yamada.masahiro@socionext.com
This commit is contained in:
Masahiro Yamada 2017-04-24 13:50:26 +09:00 committed by Daniel Vetter
parent 86c1b9eff3
commit 385157d9fa
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
ccflags-y := -Iinclude/drm
hibmc-drm-y := hibmc_drm_drv.o hibmc_drm_de.o hibmc_drm_vdac.o hibmc_drm_fbdev.o hibmc_ttm.o
obj-$(CONFIG_DRM_HISI_HIBMC) += hibmc-drm.o

View File

@ -17,7 +17,7 @@
*/
#include <drm/drm_atomic_helper.h>
#include <ttm/ttm_page_alloc.h>
#include <drm/ttm/ttm_page_alloc.h>
#include "hibmc_drm_drv.h"