summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/subdev/gpio/nv10.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev/gpio/nv10.c')
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/gpio/nv10.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/gpio/nv10.c b/drivers/gpu/drm/nouveau/core/subdev/gpio/nv10.c
index c0eaa5c..e655531 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/gpio/nv10.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/gpio/nv10.c
@@ -165,8 +165,8 @@ nv10_gpio_fini(struct nouveau_object *object, bool suspend)
return nouveau_gpio_fini(&priv->base, suspend);
}
-struct nouveau_oclass
-nv10_gpio_oclass = {
+struct nouveau_oclass *
+nv10_gpio_oclass = &(struct nouveau_oclass) {
.handle = NV_SUBDEV(GPIO, 0x10),
.ofuncs = &(struct nouveau_ofuncs) {
.ctor = nv10_gpio_ctor,
OpenPOWER on IntegriCloud