diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c b/drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c index 78fb1261..7a465fee 100644 --- a/drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c | |||
@@ -20,7 +20,7 @@ | |||
20 | * DEALINGS IN THE SOFTWARE. | 20 | * DEALINGS IN THE SOFTWARE. |
21 | */ | 21 | */ |
22 | 22 | ||
23 | #include "gk20a/gk20a.h" | 23 | #include <nvgpu/gk20a.h> |
24 | #include <nvgpu/clk_arb.h> | 24 | #include <nvgpu/clk_arb.h> |
25 | 25 | ||
26 | #include "clk_arb_gp10b.h" | 26 | #include "clk_arb_gp10b.h" |
@@ -407,12 +407,10 @@ void gp10b_clk_arb_cleanup(struct nvgpu_clk_arb *arb) | |||
407 | int index; | 407 | int index; |
408 | 408 | ||
409 | nvgpu_kfree(g, arb->gpc2clk_f_points); | 409 | nvgpu_kfree(g, arb->gpc2clk_f_points); |
410 | nvgpu_kfree(g, arb->mclk_f_points); | ||
411 | 410 | ||
412 | for (index = 0; index < 2; index++) { | 411 | for (index = 0; index < 2; index++) { |
413 | nvgpu_kfree(g, | 412 | nvgpu_kfree(g, |
414 | arb->vf_table_pool[index].gpc2clk_points); | 413 | arb->vf_table_pool[index].gpc2clk_points); |
415 | nvgpu_kfree(g, arb->vf_table_pool[index].mclk_points); | ||
416 | } | 414 | } |
417 | 415 | ||
418 | nvgpu_mutex_destroy(&g->clk_arb->pstate_lock); | 416 | nvgpu_mutex_destroy(&g->clk_arb->pstate_lock); |