Re: [PATCH] drm/amdgpu: Constify tables

2016-09-23 Thread Alex Deucher
On Thu, Sep 22, 2016 at 3:13 PM, Nils Wallménius wrote: > Mark some powerplay tables as 'const' and adjust pointers acessing > them to avoid introducing warnings. > > Signed-off-by: Nils Wallménius Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 2 +- >

[PATCH] drm/amdgpu: Constify tables

2016-09-22 Thread Nils Wallménius
Mark some powerplay tables as 'const' and adjust pointers acessing them to avoid introducing warnings. Signed-off-by: Nils Wallménius --- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 2 +- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c | 12 ++-- drivers/gpu/drm/amd/po