summaryrefslogtreecommitdiff
path: root/linux-core/drm_ttm.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-27 21:16:13 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-27 21:16:13 +0200
commitb4b7b997605f88f3ffdcb0cc7cd1271e0cb24073 (patch)
tree4b9d29ba4ced4638dc9ff07df4fb2d84105506cc /linux-core/drm_ttm.c
parentac26b51503dfedf422d6ae49518adcf41dff1af3 (diff)
Remove the ioctl multiplexing, and instead allow for generic
drm ioctls 0x80 - 0xFF.
Diffstat (limited to 'linux-core/drm_ttm.c')
-rw-r--r--linux-core/drm_ttm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_ttm.c b/linux-core/drm_ttm.c
index ecf3e0ac..950b0d4d 100644
--- a/linux-core/drm_ttm.c
+++ b/linux-core/drm_ttm.c
@@ -850,10 +850,10 @@ int drm_ttm_object_create(drm_device_t *dev, unsigned long size,
}
-int drm_ttm_ioctl(drm_file_t *priv, drm_ttm_arg_t __user *data)
+int drm_ttm_ioctl(DRM_IOCTL_ARGS)
{
+ DRM_DEVICE;
drm_ttm_arg_t arg;
- drm_device_t *dev = priv->head->dev;
drm_ttm_object_t *entry;
drm_user_object_t *uo;
unsigned long size;