• M
    drm/amdgpu: Change amdgpu_ras_block_late_init_default function scope · d41ff22a
    Maíra Canal 提交于
    Turn previously global function into a static function to avoid the
    following Clang warning:
    
    drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:2459:5: warning: no previous prototype
    for function 'amdgpu_ras_block_late_init_default' [-Wmissing-prototypes]
    int amdgpu_ras_block_late_init_default(struct amdgpu_device *adev,
        ^
    drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:2459:1: note: declare 'static' if the
    function is not intended to be used outside of this translation unit
    int amdgpu_ras_block_late_init_default(struct amdgpu_device *adev,
    ^
    static
    Signed-off-by: NMaíra Canal <maira.canal@usp.br>
    Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
    d41ff22a
amdgpu_ras.c 72.1 KB