summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorGabriel Laskar <gabriel@lse.epita.fr>2015-11-30 15:10:42 +0100
committerGabriel Laskar <gabriel@lse.epita.fr>2015-12-10 12:33:23 +0100
commit47f06c2f937f765042e8d41d7ee09f475a22e9d0 (patch)
tree3d8012606b2d64a8e6528b11baffa52b9e762d35 /include/uapi
parent6a14d01b91b07f354f11a3774755ed0afca2225b (diff)
drm: drm_fourcc.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_fourcc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h
index 0b69a7753558..998bd253faad 100644
--- a/include/uapi/drm/drm_fourcc.h
+++ b/include/uapi/drm/drm_fourcc.h
@@ -24,7 +24,7 @@
#ifndef DRM_FOURCC_H
#define DRM_FOURCC_H
-#include <linux/types.h>
+#include "drm.h"
#define fourcc_code(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \
((__u32)(c) << 16) | ((__u32)(d) << 24))