diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-12-03 12:56:41 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-01-10 23:57:06 +1000 |
commit | 223b3b8d88982f7c7b102e66fd2fe7f3b4228eec (patch) | |
tree | b06bd30ca2e93fede258374c34228f81d9aa8e40 /nvkm/include/core/ramht.h | |
parent | 8b18b785ebe9262162422930f9ddea9b5dd9d4b3 (diff) | |
download | nouveau-223b3b8d88982f7c7b102e66fd2fe7f3b4228eec.tar.gz |
core: rename subclass.base to subclass.superclass
Makes things a bit more readable. This is specially important now as
upcoming commits are going to be gradually removing the use of macros
for down-casts, in favour of compile-time checking.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm/include/core/ramht.h')
-rw-r--r-- | nvkm/include/core/ramht.h | 4 |
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 |