aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajneesh Bhardwaj <[email protected]>2022-02-10 17:20:45 -0500
committerAlex Deucher <[email protected]>2022-02-11 16:20:17 -0500
commit24992ab0b8b0d2521caa9c3dcbed0e2a56cbe3d0 (patch)
tree978998916db5acea38e475b673e91d6605191463
parentb010a46bd3abb161409afe147a73fe58c115858d (diff)
drm/amdkfd: Fix prototype warning for get_process_num_bos
Fix the warning: no previous prototype for 'get_process_num_bos' [-Wmissing-prototypes] Reported-by: kernel test robot <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Rajneesh Bhardwaj <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_chardev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
index d5699aa79578..54d997f304b5 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
@@ -1648,7 +1648,7 @@ exit:
return ret;
}
-uint32_t get_process_num_bos(struct kfd_process *p)
+static uint32_t get_process_num_bos(struct kfd_process *p)
{
uint32_t num_of_bos = 0;
int i;