diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-03-11 21:19:16 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-03-15 11:27:15 +1000 |
commit | 9479c54f0dfa63dad1ecfca897f51693c7c2fa65 (patch) | |
tree | fdb89432597e0409ae5cf9d97b0db14bf963fbad /drivers/gpu/drm/radeon/radeon.h | |
parent | 48e7a5f19fe0c10ebb35be7acf383366d139ee0a (diff) |
drm/radeon: unconfuse return value of radeon_asic->clear_surface_reg
No one cares about it, so set it to void.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 67f3c576ab7..a8552eec064 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -783,7 +783,7 @@ struct radeon_asic { int (*set_surface_reg)(struct radeon_device *rdev, int reg, uint32_t tiling_flags, uint32_t pitch, uint32_t offset, uint32_t obj_size); - int (*clear_surface_reg)(struct radeon_device *rdev, int reg); + void (*clear_surface_reg)(struct radeon_device *rdev, int reg); void (*bandwidth_update)(struct radeon_device *rdev); void (*hpd_init)(struct radeon_device *rdev); void (*hpd_fini)(struct radeon_device *rdev); |