summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
diff options
context:
space:
mode:
authorSachin Nikam <snikam@nvidia.com>2017-05-16 06:14:48 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-17 05:15:57 -0400
commit6ea3b38a4d4c83edc7059bee3a341f838350ba0a (patch)
tree9d0d14473ab00e0450a5013a229e975dcc230df6 /drivers/gpu/nvgpu/gk20a/mm_gk20a.c
parentf74acd6f8d5883fddd3c514b9517d19eaaefed95 (diff)
gpu: nvgpu: mm_gk20a: fix sparse warning
Make function as static to fix below sparse warning: - $TOP/kernel/nvgpu/drivers/gpu/nvgpu/gk20a/mm_gk20a.c:3351:22: warning: symbol '__get_pte_size_split_addr' was not declared. Should it be static? Bug 200299572 Change-Id: I46b8608e3a520748e33b00fede2ce28d842899af Signed-off-by: Sachin Nikam <snikam@nvidia.com> Reviewed-on: http://git-master/r/1482918 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@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 a6d6ee04..4d904761 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
@@ -3329,7 +3329,7 @@ enum gmmu_pgsz_gk20a __get_pte_size_fixed_map(struct vm_gk20a *vm,
3329/* 3329/*
3330 * This is for when the address space does not support unified address spaces. 3330 * This is for when the address space does not support unified address spaces.
3331 */ 3331 */
3332enum gmmu_pgsz_gk20a __get_pte_size_split_addr(struct vm_gk20a *vm, 3332static enum gmmu_pgsz_gk20a __get_pte_size_split_addr(struct vm_gk20a *vm,
3333 u64 base, u64 size) 3333 u64 base, u64 size)
3334{ 3334{
3335 if (!base) { 3335 if (!base) {