]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: make functions alloc_pasid and free_pasid static
authorColin Ian King <colin.king@canonical.com>
Thu, 28 Sep 2017 13:46:17 +0000 (14:46 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Oct 2017 20:47:58 +0000 (16:47 -0400)
commitb45a976c8bdbfdb212441c7572b07ea552b8f1c1
treef920b00c8a59349f7976fe838900fcd5573c8268
parent7a597e608cd25ad28465a16343e3b9e72101694d
drm/radeon: make functions alloc_pasid and free_pasid static

The functions alloc_pasid  and free_pasid are local to the
source and do not need to be in global scope, so make them static.

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_kfd.c