diff options
author | Dave Airlie <airlied@linux.ie> | 2007-05-28 19:41:35 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-11 11:58:02 +1000 |
commit | 6f710105f5a4971078c46ae258cbb76db1ee967a (patch) | |
tree | 20afff147af93a2c0e6b11e978b1d1b721a047e9 | |
parent | da509d7a02cb54938776439edc81f057e39f81e0 (diff) | |
download | blackbird-op-linux-6f710105f5a4971078c46ae258cbb76db1ee967a.tar.gz blackbird-op-linux-6f710105f5a4971078c46ae258cbb76db1ee967a.zip |
drm: fix typo on code drm getsarea
Signed-off-by: Dave Airlie <airlied@linux.ie>
-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) { 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; |