drm/radeon: change cik_default_state table from global to static
authorTom Rix <trix@redhat.com>
Sat, 23 Apr 2022 13:44:02 +0000 (09:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Apr 2022 15:43:51 +0000 (11:43 -0400)
commit790d8e8ecbacfa36be0b70e5a361e8ec4a55bdac
tree6222d4efe57463ca683de0b27ae5d8256664fff9
parent4ae182de39e90d5eb005d3de44963be58fb172a6
drm/radeon: change cik_default_state table from global to static

Sparse reports these issues
cik_blit_shaders.c:31:11: warning: symbol 'cik_default_state' was not declared. Should it be static?
cik_blit_shaders.c:246:11: warning: symbol 'cik_default_size' was not declared. Should it be static?

cik_default_state and cik_default_size are only used in cik.c. Single file symbols
should be static. So move their definitions to cik_blit_shaders.h and change their
storage-class-specifier to static.

Remove unneeded cik_blit_shader.c

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/Makefile
drivers/gpu/drm/radeon/cik_blit_shaders.c [deleted file]
drivers/gpu/drm/radeon/cik_blit_shaders.h