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

drm/i915: 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
b588c92b 4c18d301

+2 -4
-2
drivers/gpu/drm/i915/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 # Please keep these build lists sorted! 8 6 9 7 # core driver code
+2 -2
drivers/gpu/drm/i915/i915_gem_userptr.c
··· 22 22 * 23 23 */ 24 24 25 - #include "drmP.h" 26 - #include "i915_drm.h" 25 + #include <drm/drmP.h> 26 + #include <drm/i915_drm.h> 27 27 #include "i915_drv.h" 28 28 #include "i915_trace.h" 29 29 #include "intel_drv.h"