summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Laskar <gabriel@lse.epita.fr>2015-11-30 14:10:49 (GMT)
committerGabriel Laskar <gabriel@lse.epita.fr>2015-12-10 11:33:23 (GMT)
commit06577d042d38b27ed975c49358ad7adf873d09ae (patch)
tree94e618fe17ea40dbd42b327835c7d3b70c9fe602
parent559003d067db195721656395cc765f0a16a3abf6 (diff)
downloadlinux-06577d042d38b27ed975c49358ad7adf873d09ae.tar.xz
drm: fix inclusion of drm.h in msm_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>
-rw-r--r--include/uapi/drm/msm_drm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h
index 75a232b..e995ffb 100644
--- a/include/uapi/drm/msm_drm.h
+++ b/include/uapi/drm/msm_drm.h
@@ -18,8 +18,7 @@
#ifndef __MSM_DRM_H__
#define __MSM_DRM_H__
-#include <stddef.h>
-#include <drm/drm.h>
+#include "drm.h"
/* Please note that modifications to all structs defined here are
* subject to backwards-compatibility constraints: