Commit cbb07bb35de6ebaeea27f64860bc6277a13d5b41

Authored by Eduardo Valentin
Committed by Zhang Rui
1 parent 800744bf31

thermal: remove const flag from .ops of imx thermal

As per previous changes on thermal framework API,
registering a new thermal zone does not require
a const thermal zone ops.

Thus, this patch removes the flag from imx thermal zone ops.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/thermal/imx_thermal.c
... ... @@ -284,7 +284,7 @@
284 284 return 0;
285 285 }
286 286  
287   -static const struct thermal_zone_device_ops imx_tz_ops = {
  287 +static struct thermal_zone_device_ops imx_tz_ops = {
288 288 .bind = imx_bind,
289 289 .unbind = imx_unbind,
290 290 .get_temp = imx_get_temp,