summaryrefslogtreecommitdiff
path: root/nvkm/core/ramht.c
diff options
context:
space:
mode:
Diffstat (limited to 'nvkm/core/ramht.c')
-rw-r--r--nvkm/core/ramht.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nvkm/core/ramht.c b/nvkm/core/ramht.c
index f3b9bddc3..25cd6f290 100644
--- a/nvkm/core/ramht.c
+++ b/nvkm/core/ramht.c
@@ -96,7 +96,7 @@ nouveau_ramht_new(struct nouveau_object *parent, struct nouveau_object *pargpu,
int ret;
ret = nouveau_gpuobj_create(parent, parent->engine ?
- parent->engine : parent, /* <nv50 ramht */
+ &parent->engine->subdev.object : parent, /* <nv50 ramht */
&nouveau_ramht_oclass, 0, pargpu, size,
align, NVOBJ_FLAG_ZERO_ALLOC, &ramht);
*pramht = ramht;