From fab090f3512be2ded065151ddc544ae03bb33e8c Mon Sep 17 00:00:00 2001 From: Seshendra Gadagottu Date: Tue, 8 Mar 2016 13:34:40 -0800 Subject: gpu: nvgpu: tegra: fix sparse errors Fixed following sparse errors: - therm_gm20b.c:68:6: warning: symbol 'gm20b_init_therm_ops' was not declared. Should it be static? - platform_gk20a_tegra.c:825:5: warning: symbol 'gk20a_set_clk_rate' was not declared. Should it be static? Bug 200067946 Change-Id: I485d5e76302fb294865854f314db2d27f71520f7 Signed-off-by: Seshendra Gadagottu Reviewed-on: http://git-master/r/1026685 GVS: Gerrit_Virtual_Submit Reviewed-by: Amit Sharma (SW-TEGRA) Reviewed-by: Sachin Nikam --- drivers/gpu/nvgpu/gm20b/therm_gm20b.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gm20b/therm_gm20b.c') diff --git a/drivers/gpu/nvgpu/gm20b/therm_gm20b.c b/drivers/gpu/nvgpu/gm20b/therm_gm20b.c index 5bd22841..6ebc4c91 100644 --- a/drivers/gpu/nvgpu/gm20b/therm_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/therm_gm20b.c @@ -15,6 +15,7 @@ #include "gk20a/gk20a.h" #include "hw_therm_gm20b.h" +#include "therm_gm20b.h" static int gm20b_init_therm_setup_hw(struct gk20a *g) { -- cgit v1.2.2