aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_context.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-07-11 02:53:40 -0400
committerDave Airlie <airlied@linux.ie>2007-07-11 02:53:40 -0400
commit55910517af381eba4f978740e5e46e23eb269326 (patch)
tree22c82521d05029234634ebbf814b173570f18049 /drivers/char/drm/drm_context.c
parentcdd55a294c13f8bf05b2f4fee4c96934d5ebd2e4 (diff)
drm: detypedeffing continues...
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_context.c')
-rw-r--r--drivers/char/drm/drm_context.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/drm/drm_context.c b/drivers/char/drm/drm_context.c
index 767103cae09a..7fc055adec25 100644
--- a/drivers/char/drm/drm_context.c
+++ b/drivers/char/drm/drm_context.c
@@ -217,7 +217,7 @@ int drm_getsareactx(struct inode *inode, struct file *filp,
217 struct drm_ctx_priv_map __user *argp = (void __user *)arg; 217 struct drm_ctx_priv_map __user *argp = (void __user *)arg;
218 struct drm_ctx_priv_map request; 218 struct drm_ctx_priv_map request;
219 struct drm_map *map; 219 struct drm_map *map;
220 drm_map_list_t *_entry; 220 struct drm_map_list *_entry;
221 221
222 if (copy_from_user(&request, argp, sizeof(request))) 222 if (copy_from_user(&request, argp, sizeof(request)))
223 return -EFAULT; 223 return -EFAULT;
@@ -267,7 +267,7 @@ int drm_setsareactx(struct inode *inode, struct file *filp,
267 struct drm_device *dev = priv->head->dev; 267 struct drm_device *dev = priv->head->dev;
268 struct drm_ctx_priv_map request; 268 struct drm_ctx_priv_map request;
269 struct drm_map *map = NULL; 269 struct drm_map *map = NULL;
270 drm_map_list_t *r_list = NULL; 270 struct drm_map_list *r_list = NULL;
271 271
272 if (copy_from_user(&request, 272 if (copy_from_user(&request,
273 (struct drm_ctx_priv_map __user *) arg, 273 (struct drm_ctx_priv_map __user *) arg,
@@ -410,7 +410,7 @@ int drm_addctx(struct inode *inode, struct file *filp,
410{ 410{
411 struct drm_file *priv = filp->private_data; 411 struct drm_file *priv = filp->private_data;
412 struct drm_device *dev = priv->head->dev; 412 struct drm_device *dev = priv->head->dev;
413 drm_ctx_list_t *ctx_entry; 413 struct drm_ctx_list *ctx_entry;
414 struct drm_ctx __user *argp = (void __user *)arg; 414 struct drm_ctx __user *argp = (void __user *)arg;
415 struct drm_ctx ctx; 415 struct drm_ctx ctx;
416 416
@@ -575,7 +575,7 @@ int drm_rmctx(struct inode *inode, struct file *filp,
575 575
576 mutex_lock(&dev->ctxlist_mutex); 576 mutex_lock(&dev->ctxlist_mutex);
577 if (!list_empty(&dev->ctxlist)) { 577 if (!list_empty(&dev->ctxlist)) {
578 drm_ctx_list_t *pos, *n; 578 struct drm_ctx_list *pos, *n;
579 579
580 list_for_each_entry_safe(pos, n, &dev->ctxlist, head) { 580 list_for_each_entry_safe(pos, n, &dev->ctxlist, head) {
581 if (pos->handle == ctx.handle) { 581 if (pos->handle == ctx.handle) {