drm/amd/display: set variables aperture_default_system and context0_default_system...
authorTom Rix <trix@redhat.com>
Thu, 6 Apr 2023 19:58:18 +0000 (15:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Apr 2023 22:03:44 +0000 (18:03 -0400)
commit75bf1df75d5e9a22898c5b6c3410ef8ec3a0de70
tree6d66002aaeb71c7a0ea402a7f5a6b3b07e21f0cc
parentff38d974bc2842797d1d75f5060afd1cea4a76a9
drm/amd/display: set variables aperture_default_system and context0_default_system storage-class-specifier to static

smatch reports
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hubp.c:758:10: warning: symbol
  'aperture_default_system' was not declared. Should it be static?
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hubp.c:759:10: warning: symbol
  'context0_default_system' was not declared. Should it be static?

These variables are only used in one file so should be static.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c