summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/core/engine/fifo/nv10.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-11-05 14:26:58 +1000
committerBen Skeggs <bskeggs@redhat.com>2013-11-08 15:39:59 +1000
commit16c4f227ffc556a4851518092e2b5979da1280c1 (patch)
tree801918e6d2738a6ecf8b6e044f4870beb58daeef /drivers/gpu/drm/nouveau/core/engine/fifo/nv10.c
parentaabf19c27fc72c9c218844c8385744ff5620a229 (diff)
drm/nouveau/fifo: make external class definitions into pointers
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/engine/fifo/nv10.c')
-rw-r--r--drivers/gpu/drm/nouveau/core/engine/fifo/nv10.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/fifo/nv10.c b/drivers/gpu/drm/nouveau/core/engine/fifo/nv10.c
index 2c927c1d173b..571a22aa1ae5 100644
--- a/drivers/gpu/drm/nouveau/core/engine/fifo/nv10.c
+++ b/drivers/gpu/drm/nouveau/core/engine/fifo/nv10.c
@@ -159,8 +159,8 @@ nv10_fifo_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
return 0;
}
-struct nouveau_oclass
-nv10_fifo_oclass = {
+struct nouveau_oclass *
+nv10_fifo_oclass = &(struct nouveau_oclass) {
.handle = NV_ENGINE(FIFO, 0x10),
.ofuncs = &(struct nouveau_ofuncs) {
.ctor = nv10_fifo_ctor,