summaryrefslogtreecommitdiff
path: root/drivers/thermal/st/st_thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal/st/st_thermal.c')
-rw-r--r--drivers/thermal/st/st_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/st/st_thermal.c b/drivers/thermal/st/st_thermal.c
index a14a37d54698..1470ca519def 100644
--- a/drivers/thermal/st/st_thermal.c
+++ b/drivers/thermal/st/st_thermal.c
@@ -132,7 +132,7 @@ static int st_thermal_get_temp(struct thermal_zone_device *th, int *temperature)
return 0;
}
-static struct thermal_zone_device_ops st_tz_ops = {
+static const struct thermal_zone_device_ops st_tz_ops = {
.get_temp = st_thermal_get_temp,
};