drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c:634:5: warning: symbol 'prev_deps' 
was not declared. Should it be static?

Reported-by: kernel test robot <[email protected]>
Signed-off-by: kernel test robot <[email protected]>
---
 i915_gem_ttm_move.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c 
b/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
index 09463874ef24e7..e2f679be4e4517 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
@@ -631,8 +631,8 @@ __i915_ttm_move(struct ttm_buffer_object *bo,
        return fence;
 }
 
-int prev_deps(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx,
-             struct i915_deps *deps)
+static int prev_deps(struct ttm_buffer_object *bo, struct ttm_operation_ctx 
*ctx,
+                    struct i915_deps *deps)
 {
        int ret;
 

Reply via email to