diff options
author | Oded Gabbay <oded.gabbay@amd.com> | 2014-11-20 16:54:05 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@amd.com> | 2014-11-20 16:54:05 +0300 |
commit | d80d19bd5064692d40e9190ebadbd381f20d2969 (patch) | |
tree | 6a18c7830e7736a467b22f44dc155b1645414cf0 /drivers/gpu/drm/amd | |
parent | 20981e68010c66187450b4a5a78b56b99d1f6f59 (diff) | |
download | linux-d80d19bd5064692d40e9190ebadbd381f20d2969.tar.xz |
amdkfd: fence_wait_timeout() can be static
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; |