drm: fixup improper cast.
authorDave Airlie <airlied@linux.ie>
Sun, 19 Mar 2006 09:12:23 +0000 (20:12 +1100)
committerDave Airlie <airlied@linux.ie>
Sun, 19 Mar 2006 09:12:23 +0000 (20:12 +1100)
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/radeon_state.c

index 56e56b873616076ba3d93699bbc6eab66c0c1c57..b006b1c5d856830bd75d7639156cb67419dfd608 100644 (file)
@@ -1996,7 +1996,7 @@ static 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))