summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-01-23 08:34:25 +0800
committerEric Anholt <eric@anholt.net>2007-02-07 21:26:02 -0800
commit898aca1a66d5e685a01944f92d572641b7980c85 (patch)
treed520a8f05c7cda17579fe81bf5336806204d7160
parentef9a9d3cd1fb6f7def03ddea69af3db8502d8eb9 (diff)
Warning fix: correct type of i915_mmio argument.
-rw-r--r--shared-core/i915_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c
index 912fe0b1..9624fac4 100644
--- a/shared-core/i915_dma.c
+++ b/shared-core/i915_dma.c
@@ -798,7 +798,7 @@ static int i915_mmio(DRM_IOCTL_ARGS)
DRM_ERROR("%s called with no initialization\n", __FUNCTION__);
return DRM_ERR(EINVAL);
}
- DRM_COPY_FROM_USER_IOCTL(mmio, (drm_i915_setparam_t __user *) data,
+ DRM_COPY_FROM_USER_IOCTL(mmio, (drm_i915_mmio_t __user *) data,
sizeof(mmio));
if (mmio.reg >= mmio_table_size)