diff options
author | Sachin Nikam <snikam@nvidia.com> | 2017-05-19 06:40:37 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-19 23:23:46 -0400 |
commit | abba815d838905d8575ef8f8ff8381dfb9d9cb25 (patch) | |
tree | fe95f8cf296701eac068a1e49f22b0be9dbd3efc | |
parent | 29cc82844e03b6f9f0e6801169b6fa0e72d56628 (diff) |
gpu: nvgpu: fix static sparse warning
Make function as static to fix below
sparse warning:
$TOP/kernel/nvgpu/drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c:999:5:
warning: symbol 'gk20a_tegra_late_probe' was not declared. Should it be static?
Bug 200299572
Change-Id: I66817e8a3d35b02a63729f51f41401aab747ffae
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/1485850
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
-rw-r--r-- | drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c index 1ca85117..2bb7d5cb 100644 --- a/drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c | |||
@@ -996,7 +996,7 @@ static int gk20a_tegra_probe(struct device *dev) | |||
996 | return 0; | 996 | return 0; |
997 | } | 997 | } |
998 | 998 | ||
999 | int gk20a_tegra_late_probe(struct device *dev) | 999 | static int gk20a_tegra_late_probe(struct device *dev) |
1000 | { | 1000 | { |
1001 | /* Cause early VPR resize */ | 1001 | /* Cause early VPR resize */ |
1002 | gk20a_tegra_secure_page_alloc(dev); | 1002 | gk20a_tegra_secure_page_alloc(dev); |