diff options
author | Gabriel Laskar <gabriel@lse.epita.fr> | 2015-11-30 15:10:56 +0100 |
---|---|---|
committer | Gabriel Laskar <gabriel@lse.epita.fr> | 2015-12-10 12:33:23 +0100 |
commit | 3a4197afc4e49083988e077d09dba88013f0e517 (patch) | |
tree | 5e6c95603c64d6110d7f6af770d4fdde59a7d40d /include/uapi/drm | |
parent | 6e82e9c85774a417af309497d0be5f125474d163 (diff) | |
download | lwn-3a4197afc4e49083988e077d09dba88013f0e517.tar.gz lwn-3a4197afc4e49083988e077d09dba88013f0e517.zip |
drm: fix inclusion of drm.h in vmwgfx_drm.h
Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.
Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r-- | include/uapi/drm/vmwgfx_drm.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/uapi/drm/vmwgfx_drm.h b/include/uapi/drm/vmwgfx_drm.h index ef31f448fecf..5b68b4d10884 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 <drm/drm.h> -#endif +#include "drm.h" #define DRM_VMW_MAX_SURFACE_FACES 6 #define DRM_VMW_MAX_MIP_LEVELS 24 |