Skip to contentSkip to conversation

drm/nv41/vm: fix typo in struct name

PATCH Superseded Marcin Slusarz 1 participant 1 message Oct 22, 2012

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/nv41/vm: fix typo in struct name

It's a miracle it compiles at all - nv04_vm_priv does not exist anywhere in the tree.

---
Noticed when adding types to Nouveau APIs.

---
 drivers/gpu/drm/nouveau/core/subdev/vm/nv41.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/nouveau/core/subdev/vm/nv41.c +1 -1
index 4545b0c..e41ce9b 100644
@@ -67,7 +67,7 @@ nv41_vm_unmap(struct nouveau_gpuobj *pgt, u32 pte, u32 cnt)
 static int
 nv41_vm_flush(struct nouveau_vm *vm)
 {
-	struct nv04_vm_priv *priv = (void *)vm->vmm;
+	struct nv04_vmmgr_priv *priv = (void *)vm->vmm;
 	int ret = 0;
 
 	mutex_lock(&nv_subdev(priv)->mutex);
Signature · 1 line
1.7.12