]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu/pm: mark pcie link/speed arrays as const
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:48:49 +0000 (23:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:43:31 +0000 (16:43 -0400)
commitdd67d7a6202c4ec173b1aac96be6d4cc4d6166cc
tree625cd4ae11d77b68523945e3493cbd61a6f530c5
parent266b2d25e3fe741ad8413ce913ef462bfbd823a0
drm/amdgpu/pm: mark pcie link/speed arrays as const

They are read only.

Noticed-by: Dave Airlie <airlied@linux.ie>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/inc/smu_v11_0.h
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c