• Tom Rix's avatar
    drm/amd/display: change several dcn30 variables storage-class-specifier to static · b79f85b7
    Tom Rix authored
    smatch reports these similar problems in dcn30
    drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_dwb.c:223:25:
      warning: symbol 'dcn30_dwbc_funcs' was not declared. Should it be static?
    drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_mmhubbub.c:214:28:
      warning: symbol 'dcn30_mmhubbub_funcs' was not declared. Should it be static?
    drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_mpc.c:1402:24:
      warning: symbol 'dcn30_mpc_funcs' was not declared. Should it be static?
    
    All of these are only used in their definition file, so they should be static
    Signed-off-by: default avatarTom Rix <trix@redhat.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    b79f85b7
dcn30_mmhubbub.c 11 KB