From 7cea39b9b7c6c82f74b5e624a534c4c2a3b5e317 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Mon, 7 Jan 2013 14:20:43 +0100 Subject: 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. --- include/linux/lm95245.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 */ -- cgit v1.2.3