Commit ae95621b authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Daniel Vetter

drm/nouveau: 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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1493009447-31524-12-git-send-email-yamada.masahiro@socionext.com
parent 78f27b1c
ccflags-y := -Iinclude/drm
ccflags-y += -I$(src)/include ccflags-y += -I$(src)/include
ccflags-y += -I$(src)/include/nvkm ccflags-y += -I$(src)/include/nvkm
ccflags-y += -I$(src)/nvkm ccflags-y += -I$(src)/nvkm
......
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
#include <linux/pm_runtime.h> #include <linux/pm_runtime.h>
#include <linux/vga_switcheroo.h> #include <linux/vga_switcheroo.h>
#include "drmP.h" #include <drm/drmP.h>
#include "drm_crtc_helper.h" #include <drm/drm_crtc_helper.h>
#include <core/gpuobj.h> #include <core/gpuobj.h>
#include <core/option.h> #include <core/option.h>
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#include <nvif/device.h> #include <nvif/device.h>
#include <nvif/ioctl.h> #include <nvif/ioctl.h>
#include <drmP.h> #include <drm/drmP.h>
#include <drm/ttm/ttm_bo_api.h> #include <drm/ttm/ttm_bo_api.h>
#include <drm/ttm/ttm_bo_driver.h> #include <drm/ttm/ttm_bo_driver.h>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include "nouveau_ttm.h" #include "nouveau_ttm.h"
#include "nouveau_gem.h" #include "nouveau_gem.h"
#include "drm_legacy.h" #include <drm/drm_legacy.h>
#include <core/tegra.h> #include <core/tegra.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment