aboutsummaryrefslogtreecommitdiff
path: root/linux-core/nv50_sor.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_sor.c
parent9f28da80f6cc8e45670b217a2483983f2838095d (diff)
NV50: use list_head item instead of list_head head to avoid confusion
Diffstat (limited to 'linux-core/nv50_sor.c')
-rw-r--r--linux-core/nv50_sor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/nv50_sor.c b/linux-core/nv50_sor.c
index 84192803..4d82697e 100644
--- a/linux-core/nv50_sor.c
+++ b/linux-core/nv50_sor.c
@@ -148,7 +148,7 @@ static int nv50_sor_destroy(struct nv50_output *output)
if (!display || !output)
return -EINVAL;
- list_del(&output->head);
+ list_del(&output->item);
kfree(output->native_mode);
if (dev_priv->free_output)
@@ -205,7 +205,7 @@ int nv50_sor_create(struct drm_device *dev, int dcb_entry)
output->dcb_entry = dcb_entry;
output->bus = entry->bus;
- list_add_tail(&output->head, &display->outputs);
+ list_add_tail(&output->item, &display->outputs);
output->native_mode = kzalloc(sizeof(struct nouveau_hw_mode), GFP_KERNEL);
if (!output->native_mode) {