]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitca473cbe6e342315d302774d9165362a1b9e6b70
tree2c36a8df42e1a54821beccc71bbe59671be1ec16
parentf16813ff1bfa00bb5e3cb1354d9be53db3465b02
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