summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/core/subdev/fb/nv46.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-10-18 14:18:04 +1000
committerBen Skeggs <bskeggs@redhat.com>2013-11-08 16:04:17 +1000
commit26ffba919199e69a475d4704af2818cabb95efc2 (patch)
tree0927f3e6e63be900ef58dbbfc165f434f689fff2 /drivers/gpu/drm/nouveau/core/subdev/fb/nv46.c
parentb3d6adb7275a6f06197db78efa46950958d01cb3 (diff)
drm/nouveau/fb: make external class definitions pointers
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev/fb/nv46.c')
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/fb/nv46.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv46.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv46.c
index e2b57909bfca..50d93d71f479 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv46.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv46.c
@@ -66,8 +66,8 @@ nv46_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
}
-struct nouveau_oclass
-nv46_fb_oclass = {
+struct nouveau_oclass *
+nv46_fb_oclass = &(struct nouveau_oclass) {
.handle = NV_SUBDEV(FB, 0x46),
.ofuncs = &(struct nouveau_ofuncs) {
.ctor = nv46_fb_ctor,