summaryrefslogtreecommitdiffstats
path: root/include/linux/hwmon.h
diff options
context:
space:
mode:
authorPeter Huewe <PeterHuewe@gmx.de>2017-03-17 00:28:56 +0100
committerGuenter Roeck <linux@roeck-us.net>2017-03-22 00:18:22 -0700
commita5023a99393dab276069cd60dad3e61d57720fda (patch)
treed105748e1dc85db735c161d2a7746f5bb5571951 /include/linux/hwmon.h
parent8358378b22518d92424597503d3c1cd302a490b6 (diff)
downloadop-kernel-dev-a5023a99393dab276069cd60dad3e61d57720fda.zip
op-kernel-dev-a5023a99393dab276069cd60dad3e61d57720fda.tar.gz
hwmon: Add missing HWMON_T_ALARM
Unfortunately the HWMON_T_ALARM define was missing, although the associated entry was present in hwmon_temp_attributes. This is needed to convert drivers to the new interface which use channel based alarms. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/linux/hwmon.h')
-rw-r--r--include/linux/hwmon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hwmon.h b/include/linux/hwmon.h
index 78d59db..88b6737 100644
--- a/include/linux/hwmon.h
+++ b/include/linux/hwmon.h
@@ -88,6 +88,7 @@ enum hwmon_temp_attributes {
#define HWMON_T_CRIT_HYST BIT(hwmon_temp_crit_hyst)
#define HWMON_T_EMERGENCY BIT(hwmon_temp_emergency)
#define HWMON_T_EMERGENCY_HYST BIT(hwmon_temp_emergency_hyst)
+#define HWMON_T_ALARM BIT(hwmon_temp_alarm)
#define HWMON_T_MIN_ALARM BIT(hwmon_temp_min_alarm)
#define HWMON_T_MAX_ALARM BIT(hwmon_temp_max_alarm)
#define HWMON_T_CRIT_ALARM BIT(hwmon_temp_crit_alarm)
OpenPOWER on IntegriCloud