[Nouveau] [PATCH] drm/nv41/vm: fix typo in struct name
Marcin Slusarz
marcin.slusarz at gmail.com
Mon Oct 22 15:26:39 PDT 2012
It's a miracle it compiles at all - nv04_vm_priv does not exist
anywhere in the tree.
Signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com>
---
Noticed when adding types to Nouveau APIs.
---
drivers/gpu/drm/nouveau/core/subdev/vm/nv41.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/core/subdev/vm/nv41.c b/drivers/gpu/drm/nouveau/core/subdev/vm/nv41.c
index 4545b0c..e41ce9b 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/vm/nv41.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/vm/nv41.c
@@ -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);
--
1.7.12
More information about the Nouveau
mailing list