diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/nvgpu_common.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/nvgpu_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/nvgpu_common.c b/drivers/gpu/nvgpu/common/nvgpu_common.c index 16640aa6..f1109684 100644 --- a/drivers/gpu/nvgpu/common/nvgpu_common.c +++ b/drivers/gpu/nvgpu/common/nvgpu_common.c | |||
@@ -172,6 +172,8 @@ int nvgpu_probe(struct gk20a *g, | |||
172 | 172 | ||
173 | g->remove_support = gk20a_remove_support; | 173 | g->remove_support = gk20a_remove_support; |
174 | 174 | ||
175 | kref_init(&g->refcount); | ||
176 | |||
175 | return 0; | 177 | return 0; |
176 | } | 178 | } |
177 | 179 | ||