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 <lm@nvidia.com>
Reviewed-on: http://git-master/r/1250905
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
Lakshmanan M
2016-11-10 12:24:17 +05:30
committed by mobile promotions
parent 6410739922
commit e580e68f23

View File

@@ -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 =