drm/amdgpu: make function uvd_v6_0_enc_get_destroy_msg static
authorColin Ian King <colin.king@canonical.com>
Wed, 11 Oct 2017 09:21:11 +0000 (10:21 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Oct 2017 19:26:57 +0000 (15:26 -0400)
commitf15507a1ac0dcdbda0c6c4fe4dc168bfe0034535
tree2c36a8df42e1a54821beccc71bbe59671be1ec16
parent37a49343b467a8a475fc86d9e9e267f6fc679ac0
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>
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c