hwmon: Add missing HWMON_T_LCRIT_ALARM define
authorAndrew Lunn <andrew@lunn.ch>
Tue, 17 Jul 2018 19:48:10 +0000 (21:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 01:01:46 +0000 (10:01 +0900)
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>
include/linux/hwmon.h

index e5fd2707b6df79f4b8d1d6bb4bf01e981e379f3a..1b74ad11a5a478947cec869905fa107fc1d63f9d 100644 (file)
@@ -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)