summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2016-07-06 15:23:44 -0400
committerAlex Waterman <alexw@nvidia.com>2016-07-06 18:17:07 -0400
commitda4d5130e81b68d9773c8d64c7a6d944acfac0c8 (patch)
treef93c1aa5496f58fa3ace24f6bfc900f403794a2c /drivers/gpu/nvgpu/gk20a/mm_gk20a.c
parentb8915ab5aabb02866019221c51d96f304658207f (diff)
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 <alexw@nvidia.com> Reviewed-on: http://git-master/r/1176309 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Richard Zhao <rizhao@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.c2
1 files changed, 1 insertions, 1 deletions
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[] = {
3344 * Initialize a semaphore pool. Just return successfully if we do not need 3344 * Initialize a semaphore pool. Just return successfully if we do not need
3345 * semaphores (i.e when sync-pts are active). 3345 * semaphores (i.e when sync-pts are active).
3346 */ 3346 */
3347int gk20a_init_sema_pool(struct vm_gk20a *vm) 3347static int gk20a_init_sema_pool(struct vm_gk20a *vm)
3348{ 3348{
3349 struct gk20a_semaphore_sea *sema_sea; 3349 struct gk20a_semaphore_sea *sema_sea;
3350 struct mm_gk20a *mm = vm->mm; 3350 struct mm_gk20a *mm = vm->mm;