summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-07-17 21:48:10 +0200
committerDavid S. Miller <davem@davemloft.net>2018-07-18 10:01:46 +0900
commit2fe31e43124040a67495fa81f7ac67bc4c09ebc8 (patch)
treeb2709c91f0edc1677b5a8041fb315b70e0a96317
parent7c1fbfa7b2c883bf9ae42c243ca53d93319c1bfa (diff)
downloadlinux-2fe31e43124040a67495fa81f7ac67bc4c09ebc8.tar.gz
linux-2fe31e43124040a67495fa81f7ac67bc4c09ebc8.tar.bz2
linux-2fe31e43124040a67495fa81f7ac67bc4c09ebc8.zip
hwmon: Add missing HWMON_T_LCRIT_ALARM define
The enum hwmon_temp_lcrit_alarm exists, but the BIT definition is missing. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: David S. Miller <davem@davemloft.net>
-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 e5fd2707b6df..1b74ad11a5a4 100644
--- a/include/linux/hwmon.h
+++ b/include/linux/hwmon.h
@@ -93,6 +93,7 @@ enum hwmon_temp_attributes {
#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)
+#define HWMON_T_LCRIT_ALARM BIT(hwmon_temp_lcrit_alarm)
#define HWMON_T_EMERGENCY_ALARM BIT(hwmon_temp_emergency_alarm)
#define HWMON_T_FAULT BIT(hwmon_temp_fault)
#define HWMON_T_OFFSET BIT(hwmon_temp_offset)