aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/radeon_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer.(none)>2005-09-30 04:37:36 -0400
committerDave Airlie <airlied@linux.ie>2005-09-30 04:37:36 -0400
commitb3a83639895a422b25f72eec0a5d1d88c3ac4e9e (patch)
tree1cd03d53cccb01964ea57564d7be575a29b7fec2 /drivers/char/drm/radeon_drv.h
parent689b9d74b1c00e1316fbb7d1e912fe1227fdb1ab (diff)
drm: fix all sparse warning on 32-bit x86
Finally cleaned up the sparse warnings for the drm. Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/radeon_drv.h')
-rw-r--r--drivers/char/drm/radeon_drv.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/char/drm/radeon_drv.h b/drivers/char/drm/radeon_drv.h
index 3c7473488665..120ee5a8ebcc 100644
--- a/drivers/char/drm/radeon_drv.h
+++ b/drivers/char/drm/radeon_drv.h
@@ -281,7 +281,17 @@ typedef struct drm_radeon_buf_priv {
281 u32 age; 281 u32 age;
282} drm_radeon_buf_priv_t; 282} drm_radeon_buf_priv_t;
283 283
284typedef struct drm_radeon_kcmd_buffer {
285 int bufsz;
286 char *buf;
287 int nbox;
288 drm_clip_rect_t __user *boxes;
289} drm_radeon_kcmd_buffer_t;
290
284extern int radeon_no_wb; 291extern int radeon_no_wb;
292extern drm_ioctl_desc_t radeon_ioctls[];
293extern int radeon_max_ioctl;
294
285 /* radeon_cp.c */ 295 /* radeon_cp.c */
286extern int radeon_cp_init(DRM_IOCTL_ARGS); 296extern int radeon_cp_init(DRM_IOCTL_ARGS);
287extern int radeon_cp_start(DRM_IOCTL_ARGS); 297extern int radeon_cp_start(DRM_IOCTL_ARGS);
@@ -340,7 +350,7 @@ extern void r300_init_reg_flags(void);
340 350
341extern int r300_do_cp_cmdbuf(drm_device_t * dev, DRMFILE filp, 351extern int r300_do_cp_cmdbuf(drm_device_t * dev, DRMFILE filp,
342 drm_file_t * filp_priv, 352 drm_file_t * filp_priv,
343 drm_radeon_cmd_buffer_t * cmdbuf); 353 drm_radeon_kcmd_buffer_t * cmdbuf);
344 354
345/* Flags for stats.boxes 355/* Flags for stats.boxes
346 */ 356 */