Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
include/uapi/drm/drm_fourcc.h
··· 24 24 #ifndef DRM_FOURCC_H 25 25 #define DRM_FOURCC_H 26 26 27 - #include <linux/types.h> 27 + #include "drm.h" 28 28 29 29 #define fourcc_code(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \ 30 30 ((__u32)(c) << 16) | ((__u32)(d) << 24))