summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJoshua Primero <jprimero@nvidia.com>2012-10-04 20:24:54 -0400
committerNicolin Chen <nicolinc@nvidia.com>2017-08-11 15:14:14 -0400
commitccf3b0531fd7970d901ccd7ae2ab08a9fa9780af (patch)
tree92a4c7815e1cffd037595b9674efd29e27ff1260 /include/linux
parenta4d8d9365082c2e9eec212025f8dc6c8e4912c42 (diff)
drivers: nct: Added hysteresis
Added hysteresis functionality to thermal trip points. bug 1057977 Change-Id: I377fee3932fd5a9f264672a889eb438dcdcc99ab Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/141775 (cherry picked from commit 06d721750fcd31cceb277bb30685f86180fee326) Signed-off-by: Gaurav Batra <gbatra@nvidia.com> Reviewed-on: http://git-master/r/146686 Rebase-Id: R1609c598bfe9b261653dfb480eee452f6866caad
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nct1008.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nct1008.h b/include/linux/nct1008.h
index 5b8ae5142..9eec97f57 100644
--- a/include/linux/nct1008.h
+++ b/include/linux/nct1008.h
@@ -35,6 +35,7 @@ struct nct1008_cdev {
35 struct thermal_cooling_device *(*create_cdev)(void *); 35 struct thermal_cooling_device *(*create_cdev)(void *);
36 void *cdev_data; 36 void *cdev_data;
37 long trip_temp; 37 long trip_temp;
38 long hysteresis;
38 enum thermal_trip_type type; 39 enum thermal_trip_type type;
39 int tc1; 40 int tc1;
40 int tc2; 41 int tc2;