diff options
author | Deepak Goyal <dgoyal@nvidia.com> | 2017-02-13 05:06:33 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-02-24 00:33:34 -0500 |
commit | 45303a7de515c2214c8df2e19d130b89395eae4f (patch) | |
tree | 87091c79ea49f924fa780030b1d1e332534a15cb /drivers/gpu/nvgpu/gp106/pmu_gp106.c | |
parent | d6e40fc07a5d6386d759111f957c7a5e0605500e (diff) |
gpu: nvgpu: pmu: make gp106_pmu_reset() public.
secure PMU reset i.e. gp106_pmu_reset() is changed
to a non-static function, so that it can be re-used
outside gp106 scope.
Change-Id: I7d4c4ec6ca1bd315bf8c681723fb350277103c3b
Signed-off-by: Deepak Goyal <dgoyal@nvidia.com>
Reviewed-on: http://git-master/r/1303758
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/pmu_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/pmu_gp106.c | 2 |
1 files changed, 1 insertions, 1 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 | ||
124 | static int gp106_pmu_reset(struct gk20a *g) | 124 | int 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; |