summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/pstate/pstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/pstate/pstate.c')
-rw-r--r--drivers/gpu/nvgpu/pstate/pstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/pstate/pstate.c b/drivers/gpu/nvgpu/pstate/pstate.c
index b9f82c72..512653ba 100644
--- a/drivers/gpu/nvgpu/pstate/pstate.c
+++ b/drivers/gpu/nvgpu/pstate/pstate.c
@@ -357,7 +357,7 @@ static int pstate_sw_setup(struct gk20a *g)
357 357
358 gk20a_dbg_fn(""); 358 gk20a_dbg_fn("");
359 359
360 init_waitqueue_head(&g->perf_pmu.pstatesobjs.pstate_notifier_wq); 360 nvgpu_cond_init(&g->perf_pmu.pstatesobjs.pstate_notifier_wq);
361 361
362 err = nvgpu_mutex_init(&g->perf_pmu.pstatesobjs.pstate_mutex); 362 err = nvgpu_mutex_init(&g->perf_pmu.pstatesobjs.pstate_mutex);
363 if (err) 363 if (err)