diff mbox series

[13/28] drm/tilcdc: fix include notation and remove -Iinclude/drm flag

Message ID 1492682232-29769-14-git-send-email-yamada.masahiro@socionext.com
State New
Headers show
Series gpu/drm: remove -Iinclude/drm compiler flags from Makefile | expand

Commit Message

Masahiro Yamada April 20, 2017, 9:56 a.m. UTC
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>

---

 drivers/gpu/drm/tilcdc/Makefile     | 1 -
 drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

-- 
2.7.4
diff mbox series

Patch

diff --git a/drivers/gpu/drm/tilcdc/Makefile b/drivers/gpu/drm/tilcdc/Makefile
index 6f67517..55ebd51 100644
--- a/drivers/gpu/drm/tilcdc/Makefile
+++ b/drivers/gpu/drm/tilcdc/Makefile
@@ -1,4 +1,3 @@ 
-ccflags-y := -Iinclude/drm
 ifeq (, $(findstring -W,$(EXTRA_CFLAGS)))
 	ccflags-y += -Werror
 endif
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
index d7ae5be..edc9a04 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
@@ -29,7 +29,7 @@ 
 #include "tilcdc_panel.h"
 #include "tilcdc_external.h"
 
-#include "drm_fb_helper.h"
+#include <drm/drm_fb_helper.h>
 
 static LIST_HEAD(module_list);