diff options
Diffstat (limited to 'drivers/char/drm/drm_fops.c')
-rw-r--r-- | drivers/char/drm/drm_fops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_fops.c b/drivers/char/drm/drm_fops.c index ef2a28af136f..7bc51bac450d 100644 --- a/drivers/char/drm/drm_fops.c +++ b/drivers/char/drm/drm_fops.c | |||
@@ -401,7 +401,7 @@ int drm_release(struct inode *inode, struct file *filp) | |||
401 | 401 | ||
402 | mutex_lock(&dev->ctxlist_mutex); | 402 | mutex_lock(&dev->ctxlist_mutex); |
403 | if (!list_empty(&dev->ctxlist)) { | 403 | if (!list_empty(&dev->ctxlist)) { |
404 | drm_ctx_list_t *pos, *n; | 404 | struct drm_ctx_list *pos, *n; |
405 | 405 | ||
406 | list_for_each_entry_safe(pos, n, &dev->ctxlist, head) { | 406 | list_for_each_entry_safe(pos, n, &dev->ctxlist, head) { |
407 | if (pos->tag == priv && | 407 | if (pos->tag == priv && |