Warning fix: correct type of i915_mmio argument.

main
Eric Anholt 2007-01-23 08:34:25 +08:00
parent ef9a9d3cd1
commit 898aca1a66
1 changed files with 1 additions and 1 deletions

View File

@ -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)