summaryrefslogtreecommitdiff
path: root/lib/data.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-09-05 08:13:15 +0000
committerJean Delvare <khali@linux-fr.org>2007-09-05 08:13:15 +0000
commit87efbc06c5bb5c4ee60bb0412f9726d3bf119c40 (patch)
treef909d86104245372c5d9acd2b43d454272c41cfd /lib/data.h
parent079ba265748eed5e5042c7507b4b8d0869cee903 (diff)
downloadlm-sensors-git-87efbc06c5bb5c4ee60bb0412f9726d3bf119c40.tar.gz
Rename sensors_feature_data.mode to flags, as we plan to use it to
store non-mode flags soon. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4757 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'lib/data.h')
-rw-r--r--lib/data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/data.h b/lib/data.h
index 25818a6f..151c5ac3 100644
--- a/lib/data.h
+++ b/lib/data.h
@@ -132,7 +132,7 @@ typedef struct sensors_bus {
compute_mapping is like logical_mapping, only it refers to another
feature whose compute line will be inherited (a group could be fan and
fan_max, but not fan_div)
- mode is a bitfield, its value is a combination of SENSORS_MODE_R (readable)
+ flags is a bitfield, its value is a combination of SENSORS_MODE_R (readable)
and SENSORS_MODE_W (writable).
scaling is the number of decimal points to scale by.
Divide the read value by 10**scaling to get the real value. */