diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-01-16 18:03:19 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 21:02:57 -0400 |
commit | 9e4e1a78747f473711cc6d5eddacf69ae68b401a (patch) | |
tree | bfc67ddb6fa389c5ad000744eb0da75156c828b8 /drivers/gpu/nvgpu/gm20b | |
parent | a99bbc5f6070a346006cf3f63e7f5f2120f30a2f (diff) |
gpu: nvgpu: Make locally used function static
Make gr_gm20b_alloc_gr_ctx static. It is used only in the same file.
Bug 200067946
Change-Id: I484ff84ebe9a356f251db5a14ca0e60db64578bf
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/673267
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c index 5f544819..5b49ba8b 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c | |||
@@ -775,7 +775,7 @@ static u32 gr_gm20b_pagepool_default_size(struct gk20a *g) | |||
775 | return gr_scc_pagepool_total_pages_hwmax_value_v(); | 775 | return gr_scc_pagepool_total_pages_hwmax_value_v(); |
776 | } | 776 | } |
777 | 777 | ||
778 | int gr_gm20b_alloc_gr_ctx(struct gk20a *g, | 778 | static int gr_gm20b_alloc_gr_ctx(struct gk20a *g, |
779 | struct gr_ctx_desc **gr_ctx, struct vm_gk20a *vm, | 779 | struct gr_ctx_desc **gr_ctx, struct vm_gk20a *vm, |
780 | u32 class, | 780 | u32 class, |
781 | u32 flags) | 781 | u32 flags) |