diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/clk_gm20b.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c index 644140d8..20c2e997 100644 --- a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c | |||
@@ -31,6 +31,8 @@ | |||
31 | #include "gk20a/gk20a.h" | 31 | #include "gk20a/gk20a.h" |
32 | #include "clk_gm20b.h" | 32 | #include "clk_gm20b.h" |
33 | 33 | ||
34 | #include <nvgpu/soc.h> | ||
35 | |||
34 | #include <nvgpu/hw/gm20b/hw_trim_gm20b.h> | 36 | #include <nvgpu/hw/gm20b/hw_trim_gm20b.h> |
35 | #include <nvgpu/hw/gm20b/hw_timer_gm20b.h> | 37 | #include <nvgpu/hw/gm20b/hw_timer_gm20b.h> |
36 | #include <nvgpu/hw/gm20b/hw_therm_gm20b.h> | 38 | #include <nvgpu/hw/gm20b/hw_therm_gm20b.h> |
@@ -835,7 +837,7 @@ static int clk_program_gpc_pll(struct gk20a *g, struct pll *gpll_new, | |||
835 | 837 | ||
836 | gk20a_dbg_fn(""); | 838 | gk20a_dbg_fn(""); |
837 | 839 | ||
838 | if (!tegra_platform_is_silicon()) | 840 | if (!nvgpu_platform_is_silicon(g)) |
839 | return 0; | 841 | return 0; |
840 | 842 | ||
841 | /* get old coefficients */ | 843 | /* get old coefficients */ |