diff options
author | Aingara Paramakuru <aparamakuru@nvidia.com> | 2016-03-29 13:39:26 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-04-06 22:38:37 -0400 |
commit | bcb8d983ea138058dfdfea330289eb62e7ae406b (patch) | |
tree | 9f80b251080d264dd1053e661a6b11c413fc9ee8 /drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | |
parent | bf82cd220a1ea4f8e327bc9bae51e36669c43778 (diff) |
gpu: nvgpu: vgpu: fix warning in fifo code
Declare vgpu_channel_set_timeslice() as static.
Bug 200088648
Change-Id: I57aaa772e2fb71074f4a39af598a8e7f1819381a
Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com>
Reviewed-on: http://git-master/r/1117087
(cherry picked from commit e50774b802128967cc831a06ea9415731ce77c9e)
Reviewed-on: http://git-master/r/1120430
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/fifo_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c index 9e40218d..d81e965c 100644 --- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | |||
@@ -571,7 +571,7 @@ static int vgpu_fifo_set_runlist_interleave(struct gk20a *g, | |||
571 | return err ? err : msg.ret; | 571 | return err ? err : msg.ret; |
572 | } | 572 | } |
573 | 573 | ||
574 | int vgpu_channel_set_timeslice(struct channel_gk20a *ch, u32 timeslice) | 574 | static int vgpu_channel_set_timeslice(struct channel_gk20a *ch, u32 timeslice) |
575 | { | 575 | { |
576 | struct gk20a_platform *platform = gk20a_get_platform(ch->g->dev); | 576 | struct gk20a_platform *platform = gk20a_get_platform(ch->g->dev); |
577 | struct tegra_vgpu_cmd_msg msg; | 577 | struct tegra_vgpu_cmd_msg msg; |