OSDN Git Service

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)
commitc3fa35a4e5d1a06a5f70e5ac34a05da139aa71f4
treef920b00c8a59349f7976fe838900fcd5573c8268
parent7ca24cf2d2269bde25e21c02a77fe81995a081ae
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