From abba815d838905d8575ef8f8ff8381dfb9d9cb25 Mon Sep 17 00:00:00 2001 From: Sachin Nikam Date: Fri, 19 May 2017 16:10:37 +0530 Subject: 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 Reviewed-on: http://git-master/r/1485850 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/tegra') 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) return 0; } -int gk20a_tegra_late_probe(struct device *dev) +static int gk20a_tegra_late_probe(struct device *dev) { /* Cause early VPR resize */ gk20a_tegra_secure_page_alloc(dev); -- cgit v1.2.2