summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gp106/pmu_gp106.c2
-rw-r--r--drivers/gpu/nvgpu/gp106/pmu_gp106.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp106/pmu_gp106.c b/drivers/gpu/nvgpu/gp106/pmu_gp106.c
index 5a9d5ba6..bb9c63ca 100644
--- a/drivers/gpu/nvgpu/gp106/pmu_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/pmu_gp106.c
@@ -121,7 +121,7 @@ static int pmu_enable(struct pmu_gk20a *pmu, bool enable)
121 return 0; 121 return 0;
122} 122}
123 123
124static int gp106_pmu_reset(struct gk20a *g) 124int gp106_pmu_reset(struct gk20a *g)
125{ 125{
126 struct pmu_gk20a *pmu = &g->pmu; 126 struct pmu_gk20a *pmu = &g->pmu;
127 int err = 0; 127 int err = 0;
diff --git a/drivers/gpu/nvgpu/gp106/pmu_gp106.h b/drivers/gpu/nvgpu/gp106/pmu_gp106.h
index a42ff620..36c574bf 100644
--- a/drivers/gpu/nvgpu/gp106/pmu_gp106.h
+++ b/drivers/gpu/nvgpu/gp106/pmu_gp106.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -18,5 +18,6 @@
18 gk20a_dbg(gpu_dbg_pmu, fmt, ##arg) 18 gk20a_dbg(gpu_dbg_pmu, fmt, ##arg)
19 19
20void gp106_init_pmu_ops(struct gpu_ops *gops); 20void gp106_init_pmu_ops(struct gpu_ops *gops);
21int gp106_pmu_reset(struct gk20a *g);
21 22
22#endif /*__PMU_GP106_H_*/ 23#endif /*__PMU_GP106_H_*/