diff options
author | Minal Ugale <mugale@nvidia.com> | 2016-07-19 01:52:32 -0400 |
---|---|---|
committer | Sachin Nikam <snikam@nvidia.com> | 2016-07-19 23:52:41 -0400 |
commit | 9cbce8a90116766cd8037977900199b24eaab817 (patch) | |
tree | 15042a5b7c9cc2f5fb00d12235c8b496761e65d2 /drivers | |
parent | ba2014d367339e77f8035e087c870032c510fd61 (diff) |
nvgpu: gk20a: Fix Sparse warning
Fixed the following warning:
- gk20a.c:147:5: warning: symbol
'gk20a_railgating_debugfs_init'
was not declared ?
Bug 200067946
Bug 200088648
Change-Id: Ic7b1a24cee5066249e7d25db87a3e1569a608e6c
Signed-off-by: Minal Ugale <mugale@nvidia.com>
Reviewed-on: http://git-master/r/1183272
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 822cd3ff..50f67262 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -144,7 +144,7 @@ static const struct file_operations railgate_residency_fops = { | |||
144 | .release = single_release, | 144 | .release = single_release, |
145 | }; | 145 | }; |
146 | 146 | ||
147 | int gk20a_railgating_debugfs_init(struct device *dev) | 147 | static int gk20a_railgating_debugfs_init(struct device *dev) |
148 | { | 148 | { |
149 | struct dentry *d; | 149 | struct dentry *d; |
150 | struct gk20a_platform *platform = dev_get_drvdata(dev); | 150 | struct gk20a_platform *platform = dev_get_drvdata(dev); |