Commit 64760a4e authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Dave Airlie

drm: fourcc: Use __u32 instead of u32

drm_fourcc.h can be included from user space so use the appropriate types.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent b03166ac
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
#include <linux/types.h> #include <linux/types.h>
#define fourcc_code(a,b,c,d) ((u32)(a) | ((u32)(b) << 8) | \ #define fourcc_code(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \
((u32)(c) << 16) | ((u32)(d) << 24)) ((__u32)(c) << 16) | ((__u32)(d) << 24))
#define DRM_FORMAT_BIG_ENDIAN (1<<31) /* format is big endian instead of little endian */ #define DRM_FORMAT_BIG_ENDIAN (1<<31) /* format is big endian instead of little endian */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment