summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/core/subdev/fb/nv10.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-10-18 04:18:04 (GMT)
committerBen Skeggs <bskeggs@redhat.com>2013-11-08 05:39:50 (GMT)
commit1e9fc30e38bbedf5cbba9238393084c35e1df551 (patch)
tree497c545d8bd7f79bc282e4443e2c18ee39d13fcd /drivers/gpu/drm/nouveau/core/subdev/fb/nv10.c
parent0fef9d8a59abcd699761cb054b6c37a2bea9e31a (diff)
downloadlinux-fsl-qoriq-1e9fc30e38bbedf5cbba9238393084c35e1df551.tar.xz
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/nv10.c')
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/fb/nv10.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv10.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv10.c
index be069b5..ab0ea94 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv10.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv10.c
@@ -78,8 +78,8 @@ nv10_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
return 0;
}
-struct nouveau_oclass
-nv10_fb_oclass = {
+struct nouveau_oclass *
+nv10_fb_oclass = &(struct nouveau_oclass) {
.handle = NV_SUBDEV(FB, 0x10),
.ofuncs = &(struct nouveau_ofuncs) {
.ctor = nv10_fb_ctor,