diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/driver_common.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/driver_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/driver_common.c b/drivers/gpu/nvgpu/common/linux/driver_common.c index 5f2961f4..b82e3784 100644 --- a/drivers/gpu/nvgpu/common/linux/driver_common.c +++ b/drivers/gpu/nvgpu/common/linux/driver_common.c | |||
@@ -42,7 +42,7 @@ static void nvgpu_init_vars(struct gk20a *g) | |||
42 | init_waitqueue_head(&l->sw_irq_nonstall_last_handled_wq); | 42 | init_waitqueue_head(&l->sw_irq_nonstall_last_handled_wq); |
43 | gk20a_init_gr(g); | 43 | gk20a_init_gr(g); |
44 | 44 | ||
45 | init_rwsem(&g->busy_lock); | 45 | init_rwsem(&l->busy_lock); |
46 | init_rwsem(&g->deterministic_busy); | 46 | init_rwsem(&g->deterministic_busy); |
47 | 47 | ||
48 | nvgpu_spinlock_init(&g->mc_enable_lock); | 48 | nvgpu_spinlock_init(&g->mc_enable_lock); |