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)
commit9714d357e2ca763cc6a739f66ca67219beafd442
tree16a6c4100ef544f6db6126e810f79aa7dd34aa3d
parent790d8e8ecbacfa36be0b70e5a361e8ec4a55bdac
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