diff options
| author | Rikard Falkeborn <[email protected]> | 2021-11-28 20:19:16 +0000 |
|---|---|---|
| committer | Lucas Stach <[email protected]> | 2021-12-01 12:27:51 +0000 |
| commit | 96894b79596756d71a3e6af5ae6fc5238e058e77 (patch) | |
| tree | cfcd06aba736ce3405d58dfc7a84441f03f31288 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/etnaviv: use a 32 bit mask as coherent DMA mask (diff) | |
| download | kernel-96894b79596756d71a3e6af5ae6fc5238e058e77.tar.gz kernel-96894b79596756d71a3e6af5ae6fc5238e058e77.zip | |
drm/etnaviv: constify static struct cooling_ops
The only usage of cooling_ops is to pass its address to
thermal_of_cooling_device_register(), which takes a pointer to const
struct thermal_cooling_device_ops as input. Make it const to allow the
compiler to put it in read-only memory.
Signed-off-by: Rikard Falkeborn <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Signed-off-by: Lucas Stach <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
