diff options
Diffstat (limited to 'shared/radeon_state.c')
-rw-r--r-- | shared/radeon_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/radeon_state.c b/shared/radeon_state.c index 15c9c6f8..ba8e73a4 100644 --- a/shared/radeon_state.c +++ b/shared/radeon_state.c @@ -1895,7 +1895,7 @@ int radeon_surface_free( DRM_IOCTL_ARGS ) return DRM_ERR(EINVAL); } - DRM_COPY_FROM_USER_IOCTL( memfree, (drm_radeon_mem_free_t __user *)data, + DRM_COPY_FROM_USER_IOCTL( memfree, (drm_radeon_surface_free_t __user *)data, sizeof(memfree) ); if ( free_surface( filp, dev_priv, memfree.address ) ) |