mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user