From 278c46c2962133c50d6333e83ef800a620694308 Mon Sep 17 00:00:00 2001 From: Joshua Primero Date: Sun, 18 Dec 2011 15:37:28 -0800 Subject: 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 Reviewed-on: http://git-master/r/70933 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam Rebase-Id: R28bd05476c36e61b38cd5a0c5cb85ec132a81723 --- include/linux/nct1008.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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) -- cgit v1.2.3