Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/mgag200: 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-10-git-send-email-yamada.masahiro@socionext.com

authored by

Masahiro Yamada and committed by
Daniel Vetter
277b9fca 385157d9

+2 -2
-1
drivers/gpu/drm/mgag200/Makefile
··· 1 - ccflags-y := -Iinclude/drm 2 1 mgag200-y := mgag200_main.o mgag200_mode.o mgag200_cursor.o \ 3 2 mgag200_drv.o mgag200_fb.o mgag200_i2c.o mgag200_ttm.o 4 3
+2 -1
drivers/gpu/drm/mgag200/mgag200_ttm.c
··· 26 26 * Authors: Dave Airlie <airlied@redhat.com> 27 27 */ 28 28 #include <drm/drmP.h> 29 + #include <drm/ttm/ttm_page_alloc.h> 30 + 29 31 #include "mgag200_drv.h" 30 - #include <ttm/ttm_page_alloc.h> 31 32 32 33 static inline struct mga_device * 33 34 mgag200_bdev(struct ttm_bo_device *bd)