Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358275
b: refs/heads/master
c: d0a5191
h: refs/heads/master
i:
  358273: 7d73239
  358271: ac67c13
v: v3
  • Loading branch information
Marcin Slusarz authored and Ben Skeggs committed Feb 20, 2013
1 parent 0f11657 commit 018af4f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 134fc0327552f3ebee2cdcb50b956a31029661c0
refs/heads/master: d0a5191dcf5f37cf0942c4b65fa4a2c975631c0b
12 changes: 11 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/core/subdev/therm/nv40.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,23 @@ nv40_therm_ctor(struct nouveau_object *parent,
return nouveau_therm_preinit(&priv->base.base);
}

static int
nv40_therm_init(struct nouveau_object *object)
{
struct nouveau_therm *therm = (void *)object;

nv40_sensor_setup(therm);

return _nouveau_therm_init(object);
}

struct nouveau_oclass
nv40_therm_oclass = {
.handle = NV_SUBDEV(THERM, 0x40),
.ofuncs = &(struct nouveau_ofuncs) {
.ctor = nv40_therm_ctor,
.dtor = _nouveau_therm_dtor,
.init = _nouveau_therm_init,
.init = nv40_therm_init,
.fini = _nouveau_therm_fini,
},
};

0 comments on commit 018af4f

Please sign in to comment.