diff options
author | Rikard Falkeborn <[email protected]> | 2021-11-28 22:46:41 +0100 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2021-11-30 15:42:39 +0100 |
commit | 8152d2a9e73deb2b483bef9035d53ded27f50317 (patch) | |
tree | b650d37e91d73dff6e37baef70abd9c4974d619d /scripts/clang-tools/gen_compile_commands.py | |
parent | 4cf2ddf16e175ee18c5c29865c32da7d6269cf44 (diff) |
thermal/drivers/intel_powerclamp: Constify static thermal_cooling_device_ops
The only usage of powerclamp_cooling_ops is to pass its address to
thermal_cooling_device_register(), which takes a pointer to const struct
thermal_cooling_device_ops. Make it const to allow the compiler to put
it in read-only memory.
Signed-off-by: Rikard Falkeborn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions