summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/therm_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/therm_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/therm_gm20b.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/therm_gm20b.c b/drivers/gpu/nvgpu/gm20b/therm_gm20b.c
index 84c1a071..a999151f 100644
--- a/drivers/gpu/nvgpu/gm20b/therm_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/therm_gm20b.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * GM20B THERMAL 2 * GM20B THERMAL
3 * 3 *
4 * Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -19,7 +19,7 @@
19 19
20#include <nvgpu/hw/gm20b/hw_therm_gm20b.h> 20#include <nvgpu/hw/gm20b/hw_therm_gm20b.h>
21 21
22static int gm20b_init_therm_setup_hw(struct gk20a *g) 22int gm20b_init_therm_setup_hw(struct gk20a *g)
23{ 23{
24 u32 v; 24 u32 v;
25 25
@@ -67,9 +67,3 @@ static int gm20b_init_therm_setup_hw(struct gk20a *g)
67 67
68 return 0; 68 return 0;
69} 69}
70
71void gm20b_init_therm_ops(struct gpu_ops *gops)
72{
73 gops->therm.init_therm_setup_hw = gm20b_init_therm_setup_hw;
74 gops->therm.elcg_init_idle_filters = gk20a_elcg_init_idle_filters;
75}