From da4d5130e81b68d9773c8d64c7a6d944acfac0c8 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Wed, 6 Jul 2016 12:23:44 -0700 Subject: gpu: nvgpu: Make gk20a_init_sema_pool() static This function is only used in mm_gk20a.c and as a result should be static (fixes a sparse issue). Bug 200088648 Change-Id: I6787b4ebc5925a503d8ef2fed90c3d7cd5027589 Signed-off-by: Alex Waterman Reviewed-on: http://git-master/r/1176309 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Seshendra Gadagottu GVS: Gerrit_Virtual_Submit Reviewed-by: Richard Zhao --- drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index bb32749d..5e87ae25 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c @@ -3344,7 +3344,7 @@ const struct gk20a_mmu_level gk20a_mm_levels_128k[] = { * Initialize a semaphore pool. Just return successfully if we do not need * semaphores (i.e when sync-pts are active). */ -int gk20a_init_sema_pool(struct vm_gk20a *vm) +static int gk20a_init_sema_pool(struct vm_gk20a *vm) { struct gk20a_semaphore_sea *sema_sea; struct mm_gk20a *mm = vm->mm; -- cgit v1.2.2