summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-01-09 16:36:16 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-01-09 16:36:16 +0100
commit4aa5a91d37aad0f186f0e5b4863340c7d640d083 (patch)
treee28ef0b6948ebfb6a3956fd60eeb1c43622a3a5e /include
parent65119fd57aeb0b52bfb30d19c052256f8fb08e6e (diff)
hwmon: lm95245: add local temp and remote critical shutdown temp hooks
In order to allow tighter integration with external thermal throttling code add local temperature and remote critical shutdown temperature hooks. Rename the existing hooks for clarity.
Diffstat (limited to 'include')
-rw-r--r--include/linux/lm95245.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/lm95245.h b/include/linux/lm95245.h
index cdc6846a901f..1b0ddbd82759 100644
--- a/include/linux/lm95245.h
+++ b/include/linux/lm95245.h
@@ -28,7 +28,9 @@ struct lm95245_platform_data {
void (*probe_callback)(struct device *dev);
};
-void lm95245_thermal_get_temp(struct device *dev, int *temp);
-void lm95245_thermal_set_limit(struct device *dev, int temp);
+void lm95245_get_local_temp(struct device *dev, int *temp);
+void lm95245_get_remote_temp(struct device *dev, int *temp);
+void lm95245_set_remote_os_limit(struct device *dev, int temp);
+void lm95245_set_remote_critical_limit(struct device *dev, int temp);
#endif /* _LINUX_LM95245_H */