diff mbox

[net-next,1/4] hwmon: Add missing HWMON_T_LCRIT_ALARM define

Message ID 1531856893-27884-2-git-send-email-andrew@lunn.ch (mailing list archive)
State Awaiting Upstream
Headers show

Commit Message

Andrew Lunn July 17, 2018, 7:48 p.m. UTC
The enum hwmon_temp_lcrit_alarm exists, but the BIT definition is
missing.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
 include/linux/hwmon.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Guenter Roeck July 17, 2018, 8:12 p.m. UTC | #1
On Tue, Jul 17, 2018 at 09:48:10PM +0200, Andrew Lunn wrote:
> 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>

... and, yes, I assume the series will be picked up by David.

> ---
>  include/linux/hwmon.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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)
> -- 
> 2.18.0
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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)