diff --git a/drivers/hwmon/scpi-hwmon.c b/drivers/hwmon/scpi-hwmon.c index a586480a7ca90a1c8d655324c04d0e6ccb3fde5c..7e49da50bc69b38b8758984c52298cc4db26c311 100644 --- a/drivers/hwmon/scpi-hwmon.c +++ b/drivers/hwmon/scpi-hwmon.c @@ -120,7 +120,7 @@ scpi_show_label(struct device *dev, struct device_attribute *attr, char *buf) return sprintf(buf, "%s\n", sensor->info.name); } -static struct thermal_zone_of_device_ops scpi_sensor_ops = { +static const struct thermal_zone_of_device_ops scpi_sensor_ops = { .get_temp = scpi_read_temp, };