drm/nouveau: move pwm_divisor to the nouveau_pm_fan struct

Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Martin Peres
2011-08-20 16:37:06 +02:00
committed by Ben Skeggs
parent bc6389e4fa
commit b1aa5531cc
3 changed files with 3 additions and 3 deletions

View File

@@ -206,7 +206,7 @@ nouveau_perf_init(struct drm_device *dev)
recordlen = perf[3] + (perf[4] * perf[5]);
entries = perf[2];
pm->pwm_divisor = ROM16(perf[6]);
pm->fan.pwm_divisor = ROM16(perf[6]);
} else {
recordlen = perf[2] + (perf[3] * perf[4]);
entries = perf[5];