summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2016-04-18 04:56:13 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-04-20 05:16:14 -0400
commit63319c0fb9a44894ae02d2f4462103d3aa09bd66 (patch)
treeee89ee91d54d64eb9f0f9f44d0943f14738f0967 /drivers/gpu/nvgpu/gk20a/gk20a.c
parentf3d7292521f4d6cdaa379f983f927e2c2eb47257 (diff)
gpu: nvgpu: fix sparse warnings
Fix below sparse warnings : drivers/gpu/nvgpu/gk20a/gk20a.c:764:5: warning: symbol 'gk20a_pm_finalize_poweron' was not declared. Should it be static? drivers/gpu/nvgpu/gk20a/channel_gk20a.c:2504:14: warning: symbol 'gk20a_event_id_poll' was not declared. Should it be static? drivers/gpu/nvgpu/gk20a/channel_gk20a.c:2538:5: warning: symbol 'gk20a_event_id_release' was not declared. Should it be static? Bug 200067946 Bug 200088648 Change-Id: I5c23e7ee09c1a18fe2eeff12f80a3c2bf73120ef Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1128060 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index b330aa7a..a865b078 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -765,7 +765,7 @@ static int gk20a_detect_chip(struct gk20a *g)
765 return gpu_init_hal(g); 765 return gpu_init_hal(g);
766} 766}
767 767
768int gk20a_pm_finalize_poweron(struct device *dev) 768static int gk20a_pm_finalize_poweron(struct device *dev)
769{ 769{
770 struct gk20a *g = get_gk20a(dev); 770 struct gk20a *g = get_gk20a(dev);
771 struct gk20a_platform *platform = gk20a_get_platform(dev); 771 struct gk20a_platform *platform = gk20a_get_platform(dev);