drm/amdgpu: make function uvd_v6_0_enc_get_destroy_msg static

The function uvd_v6_0_enc_get_destroy_msg is local to the source and
does not need to be in global scope, so make it static.

Cleans up sparse warning:
symbol 'uvd_v6_0_enc_get_destroy_msg' was not declared. Should it be
static?

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Colin Ian King 2017-10-11 10:21:11 +01:00 коммит произвёл Alex Deucher
Родитель 37a49343b4
Коммит f15507a1ac
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -268,8 +268,9 @@ err:
* *
* Close up a stream for HW test or if userspace failed to do so * Close up a stream for HW test or if userspace failed to do so
*/ */
int uvd_v6_0_enc_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle, static int uvd_v6_0_enc_get_destroy_msg(struct amdgpu_ring *ring,
bool direct, struct dma_fence **fence) uint32_t handle,
bool direct, struct dma_fence **fence)
{ {
const unsigned ib_size_dw = 16; const unsigned ib_size_dw = 16;
struct amdgpu_job *job; struct amdgpu_job *job;