diff options
| author | Rikard Falkeborn <[email protected]> | 2021-11-28 21:41:58 +0100 |
|---|---|---|
| committer | Krzysztof Kozlowski <[email protected]> | 2022-01-27 10:41:54 +0100 |
| commit | 0123af535b9c090cf05dcf500f9303bae5849691 (patch) | |
| tree | 3ff36aae7be4871a0287450a26372350253694c7 /tools/testing/radix-tree/linux/kernel.h | |
| parent | 9ff684342ee7d3ea2755c6e9b60bc43085baa3ad (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions