]> 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)
commit76c60febf4a7384b6a51b443de2a86a38c07e4b3
tree16a6c4100ef544f6db6126e810f79aa7dd34aa3d
parent711c2b02769a11b28118bb45d0fec729c2f366b6
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