summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-01-07 14:20:43 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-01-07 14:22:20 +0100
commit7cea39b9b7c6c82f74b5e624a534c4c2a3b5e317 (patch)
tree85063a638084e5eb39f9016773e7d42638f10abf /include/linux
parentfc0642e73de36ea93ddb7ec93ab4d896e52f0e9a (diff)
hwmon: lm95245: add probe callback and remote OS hooks
In order to allow integrating with external thermal throttling code add a probe callback and remote over-temperature shutdown hooks.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/lm95245.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/lm95245.h b/include/linux/lm95245.h
index b9290c7708b2..cdc6846a901f 100644
--- a/include/linux/lm95245.h
+++ b/include/linux/lm95245.h
@@ -25,6 +25,10 @@
struct lm95245_platform_data {
bool enable_os_pin;
+ 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);
+
#endif /* _LINUX_LM95245_H */