From: Ville Syrjälä Date: Mon, 19 Dec 2011 22:06:40 +0000 (+0200) Subject: drm: fourcc: Use __u32 instead of u32 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=64760a4ee6e0d01c0019495a6513229259d86296;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drm: fourcc: Use __u32 instead of u32 drm_fourcc.h can be included from user space so use the appropriate types. Signed-off-by: Ville Syrjälä Signed-off-by: Dave Airlie --- diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h index bb75249bfbae..4f99cb41ed6e 100644 --- a/include/drm/drm_fourcc.h +++ b/include/drm/drm_fourcc.h @@ -26,8 +26,8 @@ #include -#define fourcc_code(a,b,c,d) ((u32)(a) | ((u32)(b) << 8) | \ - ((u32)(c) << 16) | ((u32)(d) << 24)) +#define fourcc_code(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \ + ((__u32)(c) << 16) | ((__u32)(d) << 24)) #define DRM_FORMAT_BIG_ENDIAN (1<<31) /* format is big endian instead of little endian */