diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2015-04-06 07:02:29 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:05 -0500 |
commit | 0158c380376722636ff696543071427ef3d3739f (patch) | |
tree | 5314d21253ed4a4a440f96348bd127b84f156db9 /drivers/gpu/nvgpu/gp10b/ltc_gp10b.c | |
parent | 11c589070272d34763559014f1c11738028823a8 (diff) |
gpu: nvgpu: gp10b: fix sparse warnings of static symbol
Fix sparse warnings of below type by making necessary
symbols static:
warning: symbol '<symbol>' was not declared. Should it be static?
Bug 200088648
Change-Id: Ic20ef3eb73dcbfe5f13506b5afa629c3e1db59d0
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/728012
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/ltc_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/ltc_gp10b.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c index 78c85f3e..3c809eaf 100644 --- a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c | |||
@@ -123,7 +123,7 @@ static int gp10b_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr) | |||
123 | return 0; | 123 | return 0; |
124 | } | 124 | } |
125 | 125 | ||
126 | void gp10b_ltc_isr(struct gk20a *g) | 126 | static void gp10b_ltc_isr(struct gk20a *g) |
127 | { | 127 | { |
128 | u32 mc_intr, ltc_intr; | 128 | u32 mc_intr, ltc_intr; |
129 | int ltc, slice; | 129 | int ltc, slice; |
@@ -148,7 +148,7 @@ void gp10b_ltc_isr(struct gk20a *g) | |||
148 | } | 148 | } |
149 | } | 149 | } |
150 | 150 | ||
151 | void gp10b_ltc_init_fs_state(struct gk20a *g) | 151 | static void gp10b_ltc_init_fs_state(struct gk20a *g) |
152 | { | 152 | { |
153 | gm20b_ltc_init_fs_state(g); | 153 | gm20b_ltc_init_fs_state(g); |
154 | 154 | ||