From e580e68f2374b3a0b6226eac7fc4e21dbdcbf22c Mon Sep 17 00:00:00 2001 From: Lakshmanan M Date: Thu, 10 Nov 2016 12:24:17 +0530 Subject: gpu: nvgpu: fix sparse error Issue: warning: symbol 'pmu_allocation_get_fb_size_v3' was not declared. Should it be static? Fix: Declare the 'pmu_allocation_get_fb_size_v3' as static Bug 200067946 Change-Id: If93e074ecc041e33f91cb46913f6632bf32f48f0 Signed-off-by: Lakshmanan M Reviewed-on: http://git-master/r/1250905 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c index 58fb2acc..bfa3902e 100644 --- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c @@ -529,7 +529,7 @@ static void *pmu_allocation_get_fb_addr_v3( return (void *)&pmu_a_ptr->alloc.fb; } -u32 pmu_allocation_get_fb_size_v3( +static u32 pmu_allocation_get_fb_size_v3( struct pmu_gk20a *pmu, void *pmu_alloc_ptr) { struct pmu_allocation_v3 *pmu_a_ptr = -- cgit v1.2.2