diff options
author | Joshua Primero <jprimero@nvidia.com> | 2011-12-18 15:37:28 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 01:06:44 -0700 |
commit | 278c46c2962133c50d6333e83ef800a620694308 (patch) | |
tree | f73d601b9be0e1ef5155a26ca9fdc30a96727644 /include/linux/nct1008.h | |
parent | 663a3c10c2b664e86b205b52ddb2146631c2e7ff (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>
Rebase-Id: R28bd05476c36e61b38cd5a0c5cb85ec132a81723
Diffstat (limited to 'include/linux/nct1008.h')
-rw-r--r-- | include/linux/nct1008.h | 4 |
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) |