]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/nouveau: fix include notation and remove -Iinclude/drm flag
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 24 Apr 2017 04:50:29 +0000 (13:50 +0900)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 17 May 2017 12:36:01 +0000 (14:36 +0200)
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-12-git-send-email-yamada.masahiro@socionext.com
drivers/gpu/drm/nouveau/Kbuild
drivers/gpu/drm/nouveau/nouveau_drm.c
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_ttm.c

index fde6e3656636f482cee865877acd78bec083b10d..2e9ce53ae3a8ca6455c72ccf35fa3c5df4e13412 100644 (file)
@@ -1,4 +1,3 @@
-ccflags-y := -Iinclude/drm
 ccflags-y += -I$(src)/include
 ccflags-y += -I$(src)/include/nvkm
 ccflags-y += -I$(src)/nvkm
index 1f751a3f570ce5190d29556e418b3ae7e59804dc..c3dc75fee700e3018c8ffe28fbdcec37209782a4 100644 (file)
@@ -29,8 +29,8 @@
 #include <linux/pm_runtime.h>
 #include <linux/vga_switcheroo.h>
 
-#include "drmP.h"
-#include "drm_crtc_helper.h"
+#include <drm/drmP.h>
+#include <drm/drm_crtc_helper.h>
 
 #include <core/gpuobj.h>
 #include <core/option.h>
index eadec2f49ad318cf44d3464ff39dbe201e7074cb..aaa25641fed601ff50531308737b2c1cc6e600d5 100644 (file)
@@ -43,7 +43,7 @@
 #include <nvif/device.h>
 #include <nvif/ioctl.h>
 
-#include <drmP.h>
+#include <drm/drmP.h>
 
 #include <drm/ttm/ttm_bo_api.h>
 #include <drm/ttm/ttm_bo_driver.h>
index 13e5cc5f07fe02a0116613242c841fe7e1f34f9e..999c35a25498f891be3d329ad2342484154f2d2a 100644 (file)
@@ -28,7 +28,7 @@
 #include "nouveau_ttm.h"
 #include "nouveau_gem.h"
 
-#include "drm_legacy.h"
+#include <drm/drm_legacy.h>
 
 #include <core/tegra.h>