diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2008-06-27 18:58:13 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2008-06-27 18:58:13 +0200 |
commit | 91c742663a618e81da69ad4f098321d9af56d636 (patch) | |
tree | 0b3bf333ce0f5753d5b92d07a7187720aba56e01 /shared-core/nouveau_mem.c | |
parent | 9f28da80f6cc8e45670b217a2483983f2838095d (diff) |
NV50: use list_head item instead of list_head head to avoid confusion
Diffstat (limited to 'shared-core/nouveau_mem.c')
-rw-r--r-- | shared-core/nouveau_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/nouveau_mem.c b/shared-core/nouveau_mem.c index 46b6e4d6..425cebe2 100644 --- a/shared-core/nouveau_mem.c +++ b/shared-core/nouveau_mem.c @@ -738,7 +738,7 @@ void nouveau_mem_free(struct drm_device* dev, struct mem_block* block) struct nv50_crtc *crtc = NULL; struct nv50_display *display = nv50_get_display(dev); - list_for_each_entry(crtc, &display->crtcs, head) { + list_for_each_entry(crtc, &display->crtcs, item) { if (crtc->fb->block == block) { crtc->fb->block = NULL; |