From 9cbce8a90116766cd8037977900199b24eaab817 Mon Sep 17 00:00:00 2001 From: Minal Ugale Date: Tue, 19 Jul 2016 11:22:32 +0530 Subject: 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 Reviewed-on: http://git-master/r/1183272 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam --- drivers/gpu/nvgpu/gk20a/gk20a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') 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 = { .release = single_release, }; -int gk20a_railgating_debugfs_init(struct device *dev) +static int gk20a_railgating_debugfs_init(struct device *dev) { struct dentry *d; struct gk20a_platform *platform = dev_get_drvdata(dev); -- cgit v1.2.2