Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b588c92b authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Daniel Vetter
Browse files

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: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 4c18d301
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -2,8 +2,6 @@
# Makefile for the drm device driver.  This driver provides support for the
# Makefile for the drm device driver.  This driver provides support for the
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.


ccflags-y := -Iinclude/drm

# Please keep these build lists sorted!
# Please keep these build lists sorted!


# core driver code
# core driver code
+2 −2
Original line number Original line Diff line number Diff line
@@ -22,8 +22,8 @@
 *
 *
 */
 */


#include "drmP.h"
#include <drm/drmP.h>
#include "i915_drm.h"
#include <drm/i915_drm.h>
#include "i915_drv.h"
#include "i915_drv.h"
#include "i915_trace.h"
#include "i915_trace.h"
#include "intel_drv.h"
#include "intel_drv.h"