summaryrefslogtreecommitdiff
path: root/drivers/thermal/testing/zone.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal/testing/zone.c')
-rw-r--r--drivers/thermal/testing/zone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/testing/zone.c b/drivers/thermal/testing/zone.c
index 1f4e450100e2..4257d813d572 100644
--- a/drivers/thermal/testing/zone.c
+++ b/drivers/thermal/testing/zone.c
@@ -381,7 +381,7 @@ static int tt_zone_get_temp(struct thermal_zone_device *tz, int *temp)
return 0;
}
-static struct thermal_zone_device_ops tt_zone_ops = {
+static const struct thermal_zone_device_ops tt_zone_ops = {
.get_temp = tt_zone_get_temp,
};