diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c index 60ffa381c..15d6609df 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c @@ -3,7 +3,7 @@ * * GK20A Tegra Platform Interface * - * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -822,7 +822,7 @@ static long gk20a_round_clk_rate(struct platform_device *dev, return gk20a_clk_round_rate(g, rate); } -int gk20a_set_clk_rate(struct platform_device *dev, unsigned long rate) +static int gk20a_set_clk_rate(struct platform_device *dev, unsigned long rate) { struct gk20a_platform *platform = gk20a_get_platform(dev); struct gk20a *g = platform->g; diff --git a/drivers/gpu/nvgpu/gm20b/therm_gm20b.c b/drivers/gpu/nvgpu/gm20b/therm_gm20b.c index 5bd22841d..6ebc4c912 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) {