From: Dave Airlie Date: Mon, 28 May 2007 09:41:35 +0000 (+1000) Subject: drm: fix typo on code drm getsarea X-Git-Tag: v2.6.23-rc1~774^2~14 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6f710105f5a4971078c46ae258cbb76db1ee967a;p=linux-2.6-omap-h63xx.git drm: fix typo on code drm getsarea Signed-off-by: Dave Airlie --- diff --git a/drivers/char/drm/drm_drv.c b/drivers/char/drm/drm_drv.c index 30933bb5fd8..63e091071eb 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) { drm_map_list_t *entry; - list_for_each_entry(entry, &dev->maplist->head, head) { + list_for_each_entry(entry, &dev->maplist, head) { if (entry->map && entry->map->type == _DRM_SHM && (entry->map->flags & _DRM_CONTAINS_LOCK)) { return entry->map;