summaryrefslogtreecommitdiff
path: root/nvkm/subdev/instmem/nv40.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-12-23 01:08:00 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-01-23 13:10:55 +1000
commitf0bbf6cab84c694b4c9371c635978307dad539aa (patch)
tree1f49f412171ae758813135fc7fcc953477b642c0 /nvkm/subdev/instmem/nv40.c
parentf005b530053f81c8699304c63dd71bc11ef1db1e (diff)
downloadnouveau-f0bbf6cab84c694b4c9371c635978307dad539aa.tar.gz
instmem: tidy up the object class definition
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm/subdev/instmem/nv40.c')
-rw-r--r--nvkm/subdev/instmem/nv40.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nvkm/subdev/instmem/nv40.c b/nvkm/subdev/instmem/nv40.c
index 02ea5e060..ec0b9661d 100644
--- a/nvkm/subdev/instmem/nv40.c
+++ b/nvkm/subdev/instmem/nv40.c
@@ -134,5 +134,5 @@ nv40_instmem_oclass = &(struct nouveau_instmem_impl) {
.rd32 = nv40_instmem_rd32,
.wr32 = nv40_instmem_wr32,
},
- .instobj = &nv04_instobj_oclass,
+ .instobj = &nv04_instobj_oclass.base,
}.base;