diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2005-09-30 04:37:36 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-09-30 04:37:36 -0400 |
commit | b3a83639895a422b25f72eec0a5d1d88c3ac4e9e (patch) | |
tree | 1cd03d53cccb01964ea57564d7be575a29b7fec2 /drivers/char/drm/radeon_drv.h | |
parent | 689b9d74b1c00e1316fbb7d1e912fe1227fdb1ab (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.h | 12 |
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 | ||
284 | typedef 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 | |||
284 | extern int radeon_no_wb; | 291 | extern int radeon_no_wb; |
292 | extern drm_ioctl_desc_t radeon_ioctls[]; | ||
293 | extern int radeon_max_ioctl; | ||
294 | |||
285 | /* radeon_cp.c */ | 295 | /* radeon_cp.c */ |
286 | extern int radeon_cp_init(DRM_IOCTL_ARGS); | 296 | extern int radeon_cp_init(DRM_IOCTL_ARGS); |
287 | extern int radeon_cp_start(DRM_IOCTL_ARGS); | 297 | extern int radeon_cp_start(DRM_IOCTL_ARGS); |
@@ -340,7 +350,7 @@ extern void r300_init_reg_flags(void); | |||
340 | 350 | ||
341 | extern int r300_do_cp_cmdbuf(drm_device_t * dev, DRMFILE filp, | 351 | extern 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 | */ |