summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/core/engine/device/gm100.c
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@free.fr>2014-08-17 17:33:08 +0200
committerBen Skeggs <bskeggs@redhat.com>2014-09-15 22:24:50 +1000
commit808a188a33a3342737bc389afad9d13fd900ff67 (patch)
tree6fe26df616da3111bc766cebc126b04b88ab203d /drivers/gpu/drm/nouveau/core/engine/device/gm100.c
parent90a2c1aaa2855b43d35310b41b13357f25517771 (diff)
drm/gm107/therm: add PWM fan support v2
v2: change the copyright ownership from "Nouveau Community" to myself, as per Illia's recommendation. Signed-off-by: Martin Peres <martin.peres@free.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/engine/device/gm100.c')
-rw-r--r--drivers/gpu/drm/nouveau/core/engine/device/gm100.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/device/gm100.c b/drivers/gpu/drm/nouveau/core/engine/device/gm100.c
index 377ec0b8851e..136dd9840250 100644
--- a/drivers/gpu/drm/nouveau/core/engine/device/gm100.c
+++ b/drivers/gpu/drm/nouveau/core/engine/device/gm100.c
@@ -63,9 +63,7 @@ gm100_identify(struct nouveau_device *device)
device->oclass[NVDEV_SUBDEV_GPIO ] = nve0_gpio_oclass;
device->oclass[NVDEV_SUBDEV_I2C ] = nvd0_i2c_oclass;
device->oclass[NVDEV_SUBDEV_CLOCK ] = &nve0_clock_oclass;
-#if 0
- device->oclass[NVDEV_SUBDEV_THERM ] = &nvd0_therm_oclass;
-#endif
+ device->oclass[NVDEV_SUBDEV_THERM ] = &gm107_therm_oclass;
device->oclass[NVDEV_SUBDEV_MXM ] = &nv50_mxm_oclass;
device->oclass[NVDEV_SUBDEV_DEVINIT] = gm107_devinit_oclass;
device->oclass[NVDEV_SUBDEV_MC ] = gk20a_mc_oclass;