summaryrefslogtreecommitdiff
path: root/nvkm/include/core/ramht.h
diff options
context:
space:
mode:
Diffstat (limited to 'nvkm/include/core/ramht.h')
-rw-r--r--nvkm/include/core/ramht.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nvkm/include/core/ramht.h b/nvkm/include/core/ramht.h
index 47e4cacbc..e51014337 100644
--- a/nvkm/include/core/ramht.h
+++ b/nvkm/include/core/ramht.h
@@ -4,7 +4,7 @@
#include <core/gpuobj.h>
struct nouveau_ramht {
- struct nouveau_gpuobj base;
+ struct nouveau_gpuobj gpuobj;
int bits;
};
@@ -17,7 +17,7 @@ int nouveau_ramht_new(struct nouveau_object *, struct nouveau_object *,
static inline void
nouveau_ramht_ref(struct nouveau_ramht *obj, struct nouveau_ramht **ref)
{
- nouveau_gpuobj_ref(&obj->base, (struct nouveau_gpuobj **)ref);
+ nouveau_gpuobj_ref(&obj->gpuobj, (struct nouveau_gpuobj **)ref);
}
#endif