diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2011-12-19 17:06:40 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-12-20 05:02:18 -0500 |
commit | 64760a4ee6e0d01c0019495a6513229259d86296 (patch) | |
tree | 6af92b096cca07a7f13ad7b86dc2fb40a490eacc /include | |
parent | b03166ac188ad643a55399f6c6a6a369beb099b1 (diff) |
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ä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/drm_fourcc.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
26 | 26 | ||
27 | #include <linux/types.h> | 27 | #include <linux/types.h> |
28 | 28 | ||
29 | #define fourcc_code(a,b,c,d) ((u32)(a) | ((u32)(b) << 8) | \ | 29 | #define fourcc_code(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \ |
30 | ((u32)(c) << 16) | ((u32)(d) << 24)) | 30 | ((__u32)(c) << 16) | ((__u32)(d) << 24)) |
31 | 31 | ||
32 | #define DRM_FORMAT_BIG_ENDIAN (1<<31) /* format is big endian instead of little endian */ | 32 | #define DRM_FORMAT_BIG_ENDIAN (1<<31) /* format is big endian instead of little endian */ |
33 | 33 | ||