Searched hist:"3925 b909" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/soc/qcom/ |
H A D | qcom_aoss.c | 3925b909 Sun Nov 28 15:03:17 CST 2021 Rikard Falkeborn <rikard.falkeborn@gmail.com> soc: qcom: aoss: constify static struct thermal_cooling_device_ops
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.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211128210317.25504-1-rikard.falkeborn@gmail.com
|