On Sun, 28 Nov 2021 22:03:17 +0100, Rikard Falkeborn wrote: > The only usage of qmp_cooling_device_ops is to pass its address to > devm_thermal_of_cooling_device_register() which takes a pointer to const > struct thermal_cooling_device_ops as argument. Make it const to allow > the compiler to put it in read-only memory. > > Applied, thanks! [1/1] soc: qcom: aoss: constify static struct thermal_cooling_device_ops commit: f5c3902d854744b42604359f68b42426185ed7a5 Best regards, -- Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>