Register callbacks to get/set temperature thresholds. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx> --- drivers/thermal/x86_pkg_temp_thermal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/thermal/x86_pkg_temp_thermal.c b/drivers/thermal/x86_pkg_temp_thermal.c index 50d1d2c..4b526b8 100644 --- a/drivers/thermal/x86_pkg_temp_thermal.c +++ b/drivers/thermal/x86_pkg_temp_thermal.c @@ -279,6 +279,8 @@ static struct thermal_zone_device_ops tzone_ops = { .get_trip_temp = sys_get_trip_temp, .get_trip_type = sys_get_trip_type, .set_trip_temp = sys_set_trip_temp, + .get_threshold_temp = sys_get_trip_temp, + .set_threshold_temp = sys_set_trip_temp, }; static bool pkg_temp_thermal_platform_thermal_rate_control(void) -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html