|
@@ -901,7 +901,7 @@ static int throt_set_cdev_state(struct thermal_cooling_device *cdev,
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-static struct thermal_cooling_device_ops throt_cooling_ops = {
|
|
|
|
|
|
+static const struct thermal_cooling_device_ops throt_cooling_ops = {
|
|
.get_max_state = throt_get_cdev_max_state,
|
|
.get_max_state = throt_get_cdev_max_state,
|
|
.get_cur_state = throt_get_cdev_cur_state,
|
|
.get_cur_state = throt_get_cdev_cur_state,
|
|
.set_cur_state = throt_set_cdev_state,
|
|
.set_cur_state = throt_set_cdev_state,
|