diff options
author | Dave Airlie <airlied@linux.ie> | 2007-05-26 04:26:24 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-05-26 04:26:24 +1000 |
commit | 7b48f0022a24bc5f565ae64b450dda77dee616c1 (patch) | |
tree | befe9424d3da96b792edce5ee0d2c2594f4273b7 /shared-core/mga_dma.c | |
parent | ea98d7e79657469545b865a353784d79fc8cff9d (diff) |
drm: cleanup use of Linux list handling macros
This makes the drms use of the list handling macros a lot cleaner
and more along the lines of how they should be used.
Diffstat (limited to 'shared-core/mga_dma.c')
-rw-r--r-- | shared-core/mga_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/mga_dma.c b/shared-core/mga_dma.c index 78448282..d48313c7 100644 --- a/shared-core/mga_dma.c +++ b/shared-core/mga_dma.c @@ -551,7 +551,7 @@ static int mga_do_agp_dma_bootstrap(drm_device_t * dev, drm_map_list_t *_entry; unsigned long agp_token = 0; - list_for_each_entry(_entry, &dev->maplist->head, head) { + list_for_each_entry(_entry, &dev->maplist, head) { if (_entry->map == dev->agp_buffer_map) agp_token = _entry->user_token; } |