From: Oded Gabbay Date: Thu, 20 Nov 2014 13:50:53 +0000 (+0200) Subject: amdkfd: is_occupied() can be static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=20981e68010c66187450b4a5a78b56b99d1f6f59;p=openwrt%2Fstaging%2Fblogic.git amdkfd: is_occupied() can be static Reviewed-by: Alex Deucher Signed-off-by: Oded Gabbay --- diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c index 59d240719a08..adc31474e786 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c @@ -179,9 +179,9 @@ static int destroy_mqd(struct mqd_manager *mm, void *mqd, pipe_id, queue_id); } -bool is_occupied(struct mqd_manager *mm, void *mqd, - uint64_t queue_address, uint32_t pipe_id, - uint32_t queue_id) +static bool is_occupied(struct mqd_manager *mm, void *mqd, + uint64_t queue_address, uint32_t pipe_id, + uint32_t queue_id) { return kfd2kgd->hqd_is_occupies(mm->dev->kgd, queue_address,