summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorGabriel Laskar <gabriel@lse.epita.fr>2015-11-30 15:10:43 +0100
committerGabriel Laskar <gabriel@lse.epita.fr>2015-12-10 12:33:23 +0100
commitabd5422db285f286a0d57747fb0edf192f880349 (patch)
tree8bb6df7cd15d06b1c3c256edf561089fa2129414 /include/uapi
parent47f06c2f937f765042e8d41d7ee09f475a22e9d0 (diff)
drm: drm_mode.h fix includes
Instead of using linux/types.h, drm headers should use drm.h, in order to handle the portability issues in only one place. 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')
-rw-r--r--include/uapi/drm/drm_mode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index 44ad794960ee..50adb46204c2 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -27,7 +27,7 @@
#ifndef _DRM_MODE_H
#define _DRM_MODE_H
-#include <linux/types.h>
+#include "drm.h"
#define DRM_DISPLAY_INFO_LEN 32
#define DRM_CONNECTOR_NAME_LEN 32