summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-03-30 06:11:21 +1000
committerDave Airlie <airlied@redhat.com>2011-03-30 06:11:21 +1000
commit5cb554a0d6e986f2d7300a91d95983fa09b17f65 (patch)
treec1c5a278eae272010285c2bdfd4360ab0c96f8db
parent06ebbf7c2c071c8a4f32d3cfac914874fe981054 (diff)
drm_mode: fix types on recently added ioctls
-rw-r--r--include/drm/drm_mode.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
index 8b263ad3..c7c1fbe3 100644
--- a/include/drm/drm_mode.h
+++ b/include/drm/drm_mode.h
@@ -346,14 +346,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 */
@@ -370,7 +370,7 @@ struct drm_mode_map_dumb {
};
struct drm_mode_destroy_dumb {
- uint32_t handle;
+ __u32 handle;
};
#endif