From patchwork Tue Jul 17 19:48:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Lunn X-Patchwork-Id: 10530421 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B9F386020A for ; Tue, 17 Jul 2018 19:50:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA32328306 for ; Tue, 17 Jul 2018 19:50:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9EBCF2977A; Tue, 17 Jul 2018 19:50:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C1E628306 for ; Tue, 17 Jul 2018 19:50:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729719AbeGQUYl (ORCPT ); Tue, 17 Jul 2018 16:24:41 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:37393 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729743AbeGQUYl (ORCPT ); Tue, 17 Jul 2018 16:24:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=dxYZ7O/HCrHuxEEnUPuILVUX2QXwb/8W65NZF42I65U=; b=in0BRyVX+OS3mlsIulwLjBowPiGASaAeWCc3abranIcTpNgsFldeRlN3i04LMoialernCsaAgHJyJUlczuVYzQlHHENbaReIuskk2Yw2pz1OxnKZ2Drz7LUlsOQocvI05MBJa8HTYqJ5inA3QoVUeVMkzAc37mCRAl7thREUoOE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1ffVxT-0007GS-QG; Tue, 17 Jul 2018 21:48:27 +0200 From: Andrew Lunn To: David Miller , Guenter Roeck Cc: netdev , Florian Fainelli , Russell King , linux-hwmon@vger.kernel.org, Andrew Lunn Subject: [PATCH net-next 1/4] hwmon: Add missing HWMON_T_LCRIT_ALARM define Date: Tue, 17 Jul 2018 21:48:10 +0200 Message-Id: <1531856893-27884-2-git-send-email-andrew@lunn.ch> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1531856893-27884-1-git-send-email-andrew@lunn.ch> References: <1531856893-27884-1-git-send-email-andrew@lunn.ch> Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The enum hwmon_temp_lcrit_alarm exists, but the BIT definition is missing. Signed-off-by: Andrew Lunn Acked-by: Guenter Roeck --- 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)