From: Martin Peres Date: Wed, 3 Oct 2012 22:44:19 +0000 (+0200) Subject: drm/nouveau/pm: fix a typo related to the move to the therm subdev X-Git-Tag: v3.7-rc3~22^2~7^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a6fd5cf3c986dab3950185a53ef02a399bf2cf2b;p=platform%2Fkernel%2Flinux-stable.git drm/nouveau/pm: fix a typo related to the move to the therm subdev Reported-by: Vekin on IRC Reported-by: Emil Velikov Signed-off-by: Martin Peres Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_pm.c b/drivers/gpu/drm/nouveau/nouveau_pm.c index 47677e3f8..75314a1 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