diff options
author | Martin Peres <martin.peres@labri.fr> | 2012-10-04 00:44:19 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-10-16 16:28:58 +1000 |
commit | a6fd5cf3c986dab3950185a53ef02a399bf2cf2b (patch) | |
tree | e9f00c5a891020e7a8412ab1ce575137c0ae7c68 | |
parent | a5f5af8698a5cb3a68608a40a8782bdf8263cb97 (diff) | |
download | talos-op-linux-a6fd5cf3c986dab3950185a53ef02a399bf2cf2b.tar.gz talos-op-linux-a6fd5cf3c986dab3950185a53ef02a399bf2cf2b.zip |
drm/nouveau/pm: fix a typo related to the move to the therm subdev
Reported-by: Vekin on IRC
Reported-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_pm.c b/drivers/gpu/drm/nouveau/nouveau_pm.c index 47677e3f8d7e..75314a1befc6 100644 --- a/drivers/gpu/drm/nouveau/nouveau_pm.c +++ b/drivers/gpu/drm/nouveau/nouveau_pm.c @@ -52,7 +52,7 @@ nouveau_pm_perflvl_aux(struct drm_device *dev, struct nouveau_pm_level *perflvl, { struct nouveau_drm *drm = nouveau_drm(dev); struct nouveau_pm *pm = nouveau_pm(dev); - struct nouveau_therm *therm = nouveau_therm(drm); + struct nouveau_therm *therm = nouveau_therm(drm->device); int ret; /*XXX: not on all boards, we should control based on temperature |