Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: kernel test robot <lkp@intel.com>
Signed-off-by: sunliming <sunliming@kylinos.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

sunliming and committed by
Alex Deucher
8365ed22 418214dd

+1 -1
+1 -1
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
··· 1983 1983 return 0; 1984 1984 } 1985 1985 1986 - void gfx_v11_0_rlc_stop(struct amdgpu_device *adev) 1986 + static void gfx_v11_0_rlc_stop(struct amdgpu_device *adev) 1987 1987 { 1988 1988 u32 tmp = RREG32_SOC15(GC, 0, regRLC_CNTL); 1989 1989