Re: (subset) [PATCH] soc: qcom: aoss: constify static struct thermal_cooling_device_ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux