summaryrefslogtreecommitdiff
path: root/include/linux/nct1008.h
diff options
context:
space:
mode:
authorJoshua Primero <jprimero@nvidia.com>2011-12-18 15:37:28 -0800
committerVarun Wadekar <vwadekar@nvidia.com>2011-12-22 11:31:14 +0530
commitca1bb1e65f2234519d6c5b1d7b3300fac34bcc1b (patch)
treedbb84db271141cda4d41fdf9c8f9cd368f4cc963 /include/linux/nct1008.h
parent5a10757cefec399d7c155125d4aa4f3f5beb2d22 (diff)
drivers: nct: Added low temp func to header file
Exposed the low temp function in header file. Change-Id: I67983e05d2f366981c4cff20d3a84cadc38806a8 Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/70933 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Diffstat (limited to 'include/linux/nct1008.h')
-rw-r--r--include/linux/nct1008.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/nct1008.h b/include/linux/nct1008.h
index 202eeaa5ed6d..d2be5dba1563 100644
--- a/include/linux/nct1008.h
+++ b/include/linux/nct1008.h
@@ -66,6 +66,7 @@ struct nct1008_data {
#ifdef CONFIG_SENSORS_NCT1008
int nct1008_thermal_get_temp(struct nct1008_data *data, long *temp);
+int nct1008_thermal_get_temp_low(struct nct1008_data *data, long *temp);
int nct1008_thermal_set_limits(struct nct1008_data *data,
long lo_limit_milli,
long hi_limit_milli);
@@ -78,6 +79,9 @@ int nct1008_thermal_set_shutdown_temp(struct nct1008_data *data,
static inline int nct1008_thermal_get_temp(struct nct1008_data *data,
long *temp)
{ return -EINVAL; }
+static inline int nct1008_thermal_get_temp_low(struct nct1008_data *data,
+ long *temp)
+{ return -EINVAL; }
static inline int nct1008_thermal_set_limits(struct nct1008_data *data,
long lo_limit_milli,
long hi_limit_milli)