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 /linux-core/nv50_dac.c | |
| parent | 9f28da80f6cc8e45670b217a2483983f2838095d (diff) | |
NV50: use list_head item instead of list_head head to avoid confusion
Diffstat (limited to 'linux-core/nv50_dac.c')
| -rw-r--r-- | linux-core/nv50_dac.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/linux-core/nv50_dac.c b/linux-core/nv50_dac.c index f51ecf9d..34b54902 100644 --- a/linux-core/nv50_dac.c +++ b/linux-core/nv50_dac.c @@ -144,7 +144,7 @@ static int nv50_dac_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) @@ -197,7 +197,7 @@ int nv50_dac_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) { | 
