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

drm/core: get rid of -Iinclude/drm

This results in a warning when building out of tree:
"cc1: warning: include/drm: No such file or directory [enabled by default]"

Most code already uses #include <drm/foo.h> correctly, so fix the
instances that don't.

Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

authored by

Maarten Lankhorst and committed by
Daniel Vetter
f9be5f20 b588c92b

+2 -4
-2
drivers/gpu/drm/Makefile
··· 2 2 # Makefile for the drm device driver. This driver provides support for the 3 3 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. 4 4 5 - ccflags-y := -Iinclude/drm 6 - 7 5 drm-y := drm_auth.o drm_bufs.o drm_cache.o \ 8 6 drm_context.o drm_dma.o \ 9 7 drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
+2 -2
drivers/gpu/drm/drm_flip_work.c
··· 21 21 * SOFTWARE. 22 22 */ 23 23 24 - #include "drmP.h" 25 - #include "drm_flip_work.h" 24 + #include <drm/drmP.h> 25 + #include <drm/drm_flip_work.h> 26 26 27 27 /** 28 28 * drm_flip_work_allocate_task - allocate a flip-work task