thermal/drivers/intel_powerclamp: Constify static thermal_cooling_device_ops
[sfrench/cifs-2.6.git] / drivers / thermal / intel / intel_powerclamp.c
index 9b68489a23560663e26e8945499327aa9749a659..14256421d98c26ab205f293f9574925dbd1d175b 100644 (file)
@@ -641,7 +641,7 @@ exit_set:
 }
 
 /* bind to generic thermal layer as cooling device*/
-static struct thermal_cooling_device_ops powerclamp_cooling_ops = {
+static const struct thermal_cooling_device_ops powerclamp_cooling_ops = {
        .get_max_state = powerclamp_get_max_state,
        .get_cur_state = powerclamp_get_cur_state,
        .set_cur_state = powerclamp_set_cur_state,