summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@labri.fr>2013-03-05 10:58:59 +0100
committerBen Skeggs <bskeggs@redhat.com>2013-03-18 11:15:26 +1000
commitc4ce9246ca4708482a9a03e76f4177e9f46a13ef (patch)
treedebe3cbf263696a9f30ec9af92a437aaa5884d7b /drivers/gpu/drm/nouveau/core/subdev/therm/priv.h
parent7591782b9f30a5a8bcbba5744c85050ff6743d69 (diff)
downloadop-kernel-dev-c4ce9246ca4708482a9a03e76f4177e9f46a13ef.zip
op-kernel-dev-c4ce9246ca4708482a9a03e76f4177e9f46a13ef.tar.gz
drm/nouveau/therm: remove some confusion introduced by therm_mode
The kernel message "[ PTHERM][0000:01:00.0] Thermal management: disabled" is misleading as it actually means "fan management: disabled". This patch fixes both the source and the message to improve readability. Signed-off-by: Martin Peres <martin.peres@labri.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev/therm/priv.h')
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/therm/priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h b/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h
index 06b9870..d8483dd 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h
+++ b/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h
@@ -102,7 +102,7 @@ struct nouveau_therm_priv {
struct i2c_client *ic;
};
-int nouveau_therm_mode(struct nouveau_therm *therm, int mode);
+int nouveau_therm_fan_mode(struct nouveau_therm *therm, int mode);
int nouveau_therm_attr_get(struct nouveau_therm *therm,
enum nouveau_therm_attr_type type);
int nouveau_therm_attr_set(struct nouveau_therm *therm,
OpenPOWER on IntegriCloud