summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shared-core/sis_mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/sis_mm.c b/shared-core/sis_mm.c
index 611e5939..91562e5b 100644
--- a/shared-core/sis_mm.c
+++ b/shared-core/sis_mm.c
@@ -271,7 +271,7 @@ static int sis_ioctl_agp_alloc(DRM_IOCTL_ARGS)
{
DRM_DEVICE;
drm_sis_private_t *dev_priv = dev->dev_private;
- drm_sis_mem_t __user *argp = (void __user *)data;
+ drm_sis_mem_t __user *argp = (drm_sis_mem_t __user *)data;
drm_sis_mem_t agp;
PMemBlock block;
int retval = 0;