mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 07:08:07 +00:00
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>
This commit is contained in:
parent
800744bf31
commit
cbb07bb35d
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ static int imx_unbind(struct thermal_zone_device *tz,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct thermal_zone_device_ops imx_tz_ops = {
|
static struct thermal_zone_device_ops imx_tz_ops = {
|
||||||
.bind = imx_bind,
|
.bind = imx_bind,
|
||||||
.unbind = imx_unbind,
|
.unbind = imx_unbind,
|
||||||
.get_temp = imx_get_temp,
|
.get_temp = imx_get_temp,
|
||||||
|
|
Loading…
Add table
Reference in a new issue