diff options
author | Mikko Rapeli <mikko.rapeli@iki.fi> | 2014-08-31 15:01:09 +0400 |
---|---|---|
committer | Gabriel Laskar <gabriel@lse.epita.fr> | 2015-12-10 14:33:23 +0300 |
commit | 05623b7fcaf20886721307de10547d3f91235186 (patch) | |
tree | 9e4ae5fefa21217ddd6657a3bc8e8b7b820daa12 /include/uapi/drm | |
parent | 1a2a42c8bfa25ef0f7e14c5973c6a0bebe625a96 (diff) | |
download | linux-05623b7fcaf20886721307de10547d3f91235186.tar.xz |
drm_mode.h: use __u32 and __u64 from linux/types.h
Fixes userspace compilation error:
drm/drm_mode.h:472:2: error: unknown type name ‘uint32_t’
Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r-- | include/uapi/drm/drm_mode.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h index 6c11ca401de8..44ad794960ee 100644 --- a/include/uapi/drm/drm_mode.h +++ b/include/uapi/drm/drm_mode.h @@ -526,14 +526,14 @@ struct drm_mode_crtc_page_flip { /* create a dumb scanout buffer */ struct drm_mode_create_dumb { - uint32_t height; - uint32_t width; - uint32_t bpp; - uint32_t flags; + __u32 height; + __u32 width; + __u32 bpp; + __u32 flags; /* handle, pitch, size will be returned */ - uint32_t handle; - uint32_t pitch; - uint64_t size; + __u32 handle; + __u32 pitch; + __u64 size; }; /* set up for mmap of a dumb scanout buffer */ @@ -550,7 +550,7 @@ struct drm_mode_map_dumb { }; struct drm_mode_destroy_dumb { - uint32_t handle; + __u32 handle; }; /* page-flip flags are valid, plus: */ |