diff options
author | Martin Peres <martin.peres@ensi-bourges.fr> | 2011-08-20 16:37:06 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-03-13 17:06:11 +1000 |
commit | b1aa5531cc74ea023ad35e9cf5872112a15b4f70 (patch) | |
tree | 8040f29fb58c8dccb9f6076409bbf9e30589a474 /drivers/gpu/drm/nouveau/nouveau_perf.c | |
parent | bc6389e4fa1a6535021ffc4d3b37d48f9a0542e2 (diff) | |
download | blackbird-op-linux-b1aa5531cc74ea023ad35e9cf5872112a15b4f70.tar.gz blackbird-op-linux-b1aa5531cc74ea023ad35e9cf5872112a15b4f70.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_perf.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_perf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_perf.c b/drivers/gpu/drm/nouveau/nouveau_perf.c index 54895cc60d2a..2ca26f39292a 100644 --- a/drivers/gpu/drm/nouveau/nouveau_perf.c +++ b/drivers/gpu/drm/nouveau/nouveau_perf.c @@ -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]; |