]> 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)
commita1c1a1de43457e35816e84b948052af7ee68e158
tree8e29eb96ac034c1c94261c882b0e54b828b54743
parentbeb86f29c9c7f2d04f9a42c4c61cc469c3689779
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