amdkfd: fence_wait_timeout() can be static
authorOded Gabbay <oded.gabbay@amd.com>
Thu, 20 Nov 2014 13:54:05 +0000 (15:54 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Thu, 20 Nov 2014 13:54:05 +0000 (15:54 +0200)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c

index 8c40d04932b2ba251fa409cb0a47109cabd67c13..718f50e81e28a86a8ce6aeb76f276291cae55483 100644 (file)
@@ -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;