diff options
author | Rikard Falkeborn <[email protected]> | 2021-11-28 22:03:17 +0100 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2021-12-20 19:10:10 -0600 |
commit | 3925b909f75800e69bd1a65130a0440191a9e60a (patch) | |
tree | 0fef0fbcaedc654500075e38a8e507ea78ffb3a7 /net/lapb/lapb_timer.c | |
parent | 92c550f9ffd2884bb5def52b5c0485a35e452784 (diff) |
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 <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions