diff options
author | 2021-11-28 21:41:58 +0100 | |
---|---|---|
committer | 2022-01-27 10:41:54 +0100 | |
commit | 0123af535b9c090cf05dcf500f9303bae5849691 (patch) | |
tree | 3ff36aae7be4871a0287450a26372350253694c7 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | memory: tegra20-emc: Correct memory device mask (diff) | |
download | linux-dev-0123af535b9c090cf05dcf500f9303bae5849691.tar.xz linux-dev-0123af535b9c090cf05dcf500f9303bae5849691.zip |
memory: tegra: Constify struct thermal_cooling_device_ops
The only usage of tegra210_emc_cd_ops is to pass its address to
devm_thermal_of_cooling_device_register() which is 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 <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20211128204158.19544-1-rikard.falkeborn@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions