From: Oded Gabbay Date: Thu, 20 Nov 2014 13:54:05 +0000 (+0200) Subject: amdkfd: fence_wait_timeout() can be static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d80d19bd5064692d40e9190ebadbd381f20d2969;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git amdkfd: fence_wait_timeout() can be static Reviewed-by: Alex Deucher Signed-off-by: Oded Gabbay --- diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c index 8c40d04932b2..718f50e81e28 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c @@ -789,8 +789,9 @@ out: return retval; } -int fence_wait_timeout(unsigned int *fence_addr, unsigned int fence_value, - unsigned long timeout) +static int fence_wait_timeout(unsigned int *fence_addr, + unsigned int fence_value, + unsigned long timeout) { BUG_ON(!fence_addr); timeout += jiffies;