From: Gabriel Laskar Date: Mon, 30 Nov 2015 14:10:56 +0000 (+0100) Subject: drm: fix inclusion of drm.h in vmwgfx_drm.h X-Git-Tag: v5.15~14379^2~34^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a4197afc4e49083988e077d09dba88013f0e517;p=platform%2Fkernel%2Flinux-starfive.git drm: fix inclusion of drm.h in vmwgfx_drm.h Using `#include "drm.h"` instead of `#include ` allow drm headers to be moved in another directory without changes, like for the libdrm imports. Signed-off-by: Gabriel Laskar Reviewed-by: Emil Velikov CC: Emil Velikov CC: Mikko Rapeli --- diff --git a/include/uapi/drm/vmwgfx_drm.h b/include/uapi/drm/vmwgfx_drm.h index ef31f44..5b68b4d 100644 --- a/include/uapi/drm/vmwgfx_drm.h +++ b/include/uapi/drm/vmwgfx_drm.h @@ -28,9 +28,7 @@ #ifndef __VMWGFX_DRM_H__ #define __VMWGFX_DRM_H__ -#ifndef __KERNEL__ -#include -#endif +#include "drm.h" #define DRM_VMW_MAX_SURFACE_FACES 6 #define DRM_VMW_MAX_MIP_LEVELS 24