diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nct1008.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/nct1008.h b/include/linux/nct1008.h index 9227f4ad82f4..69515a6f0bda 100644 --- a/include/linux/nct1008.h +++ b/include/linux/nct1008.h @@ -3,7 +3,7 @@ * * NCT1008, temperature monitoring device from ON Semiconductors * - * Copyright (c) 2010, NVIDIA Corporation. + * Copyright (c) 2010-2012, NVIDIA Corporation. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,6 +24,7 @@ #define _LINUX_NCT1008_H #include <linux/types.h> +#include <linux/workqueue.h> #include <mach/edp.h> @@ -71,6 +72,8 @@ struct nct1008_data { #ifdef CONFIG_SENSORS_NCT1008 int nct1008_thermal_get_temp(struct nct1008_data *data, long *temp); +int nct1008_thermal_get_temps(struct nct1008_data *data, long *etemp, + long *itemp); 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, @@ -84,6 +87,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_temps(struct nct1008_data *data, + long *etemp, long *itemp) +{ return -EINVAL; } static inline int nct1008_thermal_get_temp_low(struct nct1008_data *data, long *temp) { return -EINVAL; } |