Messages in this thread | | | Date | Mon, 14 May 2018 14:55:27 +0200 | From | Thierry Reding <> | Subject | Re: [PATCH V2] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops |
| |
On Sat, May 12, 2018 at 11:17:08PM +0530, sumeet p wrote: > 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> > --- > Changes in V2: > - Updated Signed-off-by with correct name. > > --- > drivers/thermal/tegra/soctherm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Thierry Reding <treding@nvidia.com> [unhandled content-type:application/pgp-signature] | |