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

index 59d240719a084ab81e42b7ee14a92e653b289a3e..adc31474e786195bb3308150334c5a7a280f1d81 100644 (file)
@@ -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,