]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Constify tables
authorNils Wallménius <nils.wallmenius@gmail.com>
Thu, 22 Sep 2016 19:13:49 +0000 (21:13 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Sep 2016 14:50:22 +0000 (10:50 -0400)
commitba3a027594e72339b143c5cbeb5788a9e51068f8
tree8e29eb96ac034c1c94261c882b0e54b828b54743
parent65ed68f0ced7ba72da0d197f411ec7128cea744b
drm/amdgpu: Constify tables

Mark some powerplay tables as 'const' and adjust pointers acessing
them to avoid introducing warnings.

Signed-off-by: Nils Wallménius <nils.wallmenius@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c
drivers/gpu/drm/amd/powerplay/smumgr/iceland_smc.c
drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.h
drivers/gpu/drm/amd/powerplay/smumgr/tonga_smc.c
drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.h