thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops
authorsrplinux2008 <srplinux2008@gmail.com>
Sat, 12 May 2018 17:47:08 +0000 (23:17 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 1 Jun 2018 21:37:11 +0000 (14:37 -0700)
commitcc50ba5e67da6dc7d554271470a566cc111e0456
tree55f426e60bfb18261c102d2c6fc07f69eda2bbc9
parentffe6e16f14faf5af6bae7293ebddb481a1d77ae6
thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops

Correct the typecast with const to struct thermal_cooling_device_ops.
It is the last argument to the function thermal_of_cooling_device_register
and this argument is of type const. So, declare this structure
thermal_cooling_device_ops as constant.

Signed-off-by: sumeet p <srplinux2008@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/tegra/soctherm.c