summaryrefslogtreecommitdiff
path: root/linux-core/nv50_crtc.c
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-06-27 18:58:13 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-06-27 18:58:13 +0200
commit91c742663a618e81da69ad4f098321d9af56d636 (patch)
tree0b3bf333ce0f5753d5b92d07a7187720aba56e01 /linux-core/nv50_crtc.c
parent9f28da80f6cc8e45670b217a2483983f2838095d (diff)
NV50: use list_head item instead of list_head head to avoid confusion
Diffstat (limited to 'linux-core/nv50_crtc.c')
-rw-r--r--linux-core/nv50_crtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/nv50_crtc.c b/linux-core/nv50_crtc.c
index af2f03d8..fd2ad38a 100644
--- a/linux-core/nv50_crtc.c
+++ b/linux-core/nv50_crtc.c
@@ -445,7 +445,7 @@ static int nv50_crtc_destroy(struct nv50_crtc *crtc)
if (!display || !crtc)
return -EINVAL;
- list_del(&crtc->head);
+ list_del(&crtc->item);
nv50_fb_destroy(crtc);
nv50_lut_destroy(crtc);
@@ -484,7 +484,7 @@ int nv50_crtc_create(struct drm_device *dev, int index)
goto out;
}
- list_add_tail(&crtc->head, &display->crtcs);
+ list_add_tail(&crtc->item, &display->crtcs);
crtc->index = index;