Commit 8365ed22 authored by sunliming's avatar sunliming Committed by Alex Deucher

drm/amdgpu: make gfx_v11_0_rlc_stop static

This symbol is not used outside of gfx_v11_0.c, so marks it static.

Fixes the following w1 warning:

drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:1945:6: warning: no previous
prototype for function 'gfx_v11_0_rlc_stop' [-Wmissing-prototypes].
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarsunliming <sunliming@kylinos.cn>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 418214dd
...@@ -1983,7 +1983,7 @@ static int gfx_v11_0_init_csb(struct amdgpu_device *adev) ...@@ -1983,7 +1983,7 @@ static int gfx_v11_0_init_csb(struct amdgpu_device *adev)
return 0; return 0;
} }
void gfx_v11_0_rlc_stop(struct amdgpu_device *adev) static void gfx_v11_0_rlc_stop(struct amdgpu_device *adev)
{ {
u32 tmp = RREG32_SOC15(GC, 0, regRLC_CNTL); u32 tmp = RREG32_SOC15(GC, 0, regRLC_CNTL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment