diff options
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/drm/drm_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_drv.c b/drivers/char/drm/drm_drv.c index 30933bb5fd83..63e091071eb2 100644 --- a/drivers/char/drm/drm_drv.c +++ b/drivers/char/drm/drm_drv.c | |||
@@ -522,7 +522,7 @@ drm_local_map_t *drm_getsarea(struct drm_device *dev) | |||
522 | { | 522 | { |
523 | drm_map_list_t *entry; | 523 | drm_map_list_t *entry; |
524 | 524 | ||
525 | list_for_each_entry(entry, &dev->maplist->head, head) { | 525 | list_for_each_entry(entry, &dev->maplist, head) { |
526 | if (entry->map && entry->map->type == _DRM_SHM && | 526 | if (entry->map && entry->map->type == _DRM_SHM && |
527 | (entry->map->flags & _DRM_CONTAINS_LOCK)) { | 527 | (entry->map->flags & _DRM_CONTAINS_LOCK)) { |
528 | return entry->map; | 528 | return entry->map; |