提交 f12d07d6 编写于 作者: R Ruijing Dong 提交者: Alex Deucher

drm/amdgpu/vcn: fix no previous prototype warning

Declare 'static', as the function is not intended to be used
outside of this translation unit.

Fixes: 4ed49c95 ("drm/amdgpu/vcn: add unified queue ib test")
Reported-by: Nkernel test robot <lkp@intel.com>
Reviewed-by: NJames Zhu <James.Zhu@amd.com>
Signed-off-by: NRuijing Dong <ruijing.dong@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 ceb18036
......@@ -330,7 +330,7 @@ int amdgpu_vcn_sw_fini(struct amdgpu_device *adev)
}
/* from vcn4 and above, only unified queue is used */
bool amdgpu_vcn_using_unified_queue(struct amdgpu_ring *ring)
static bool amdgpu_vcn_using_unified_queue(struct amdgpu_ring *ring)
{
struct amdgpu_device *adev = ring->adev;
bool ret = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册