]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: change cac_weights_* to static
authorTom Rix <trix@redhat.com>
Sat, 23 Apr 2022 20:01:55 +0000 (16:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Apr 2022 15:43:57 +0000 (11:43 -0400)
commite701789b444b3cc96293d7f0664f165924b48ea4
tree16a6c4100ef544f6db6126e810f79aa7dd34aa3d
parentc63899569af3e80c64bf52cfd0544eef8691ed6f
drm/radeon: change cac_weights_* to static

Sparse reports these issues
si_dpm.c:332:26: warning: symbol 'cac_weights_pitcairn' was not declared. Should it be static?
si_dpm.c:1088:26: warning: symbol 'cac_weights_oland' was not declared. Should it be static?

Both of these variables are only used in si_dpm.c.  Single file variables
should be static, so change their storage-class specifiers to static.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/si_dpm.c