diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-04-14 18:43:07 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-16 19:45:49 -0400 |
commit | f927fcd9451d2d2e053a84c4807a5de1ee64cb47 (patch) | |
tree | 977745977dd257d0e4cff343310e7e50bc02b6d4 /drivers/gpu/nvgpu/gk20a | |
parent | c8821f49ba6a37fc75e0772342fba9f57f99bb99 (diff) |
gpu: nvgpu: fix sparse errors
add static keyword for functions/arrays not being used outside
fifo_gk20a.c
Bug 200067946
Change-Id: I016f60fa7925c1bc07620fa1e851a904b2403923
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/1463155
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index c296be5b..ad200f38 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -1312,7 +1312,7 @@ bool gk20a_fifo_should_defer_engine_reset(struct gk20a *g, u32 engine_id, | |||
1312 | } | 1312 | } |
1313 | 1313 | ||
1314 | /* caller must hold a channel reference */ | 1314 | /* caller must hold a channel reference */ |
1315 | bool gk20a_fifo_ch_timeout_debug_dump_state(struct gk20a *g, | 1315 | static bool gk20a_fifo_ch_timeout_debug_dump_state(struct gk20a *g, |
1316 | struct channel_gk20a *refch) | 1316 | struct channel_gk20a *refch) |
1317 | { | 1317 | { |
1318 | bool verbose = true; | 1318 | bool verbose = true; |
@@ -1331,7 +1331,7 @@ bool gk20a_fifo_ch_timeout_debug_dump_state(struct gk20a *g, | |||
1331 | } | 1331 | } |
1332 | 1332 | ||
1333 | /* caller must hold a channel reference */ | 1333 | /* caller must hold a channel reference */ |
1334 | void gk20a_fifo_set_has_timedout_and_wake_up_wqs(struct gk20a *g, | 1334 | static void gk20a_fifo_set_has_timedout_and_wake_up_wqs(struct gk20a *g, |
1335 | struct channel_gk20a *refch) | 1335 | struct channel_gk20a *refch) |
1336 | { | 1336 | { |
1337 | if (refch) { | 1337 | if (refch) { |
@@ -3748,7 +3748,7 @@ static const char * const ccsr_chan_status_str[] = { | |||
3748 | "on_eng_pending_acq_ctx_reload", | 3748 | "on_eng_pending_acq_ctx_reload", |
3749 | }; | 3749 | }; |
3750 | 3750 | ||
3751 | const char * const pbdma_chan_eng_ctx_status_str[] = { | 3751 | static const char * const pbdma_chan_eng_ctx_status_str[] = { |
3752 | "invalid", | 3752 | "invalid", |
3753 | "valid", | 3753 | "valid", |
3754 | "NA", | 3754 | "NA", |