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 d1905c86..e8530c05 100644 --- a/drivers/gpu/nvgpu/common/linux/driver_common.c +++ b/drivers/gpu/nvgpu/common/linux/driver_common.c | |||
@@ -217,7 +217,7 @@ int nvgpu_probe(struct gk20a *g, | |||
217 | 217 | ||
218 | g->remove_support = gk20a_remove_support; | 218 | g->remove_support = gk20a_remove_support; |
219 | 219 | ||
220 | kref_init(&g->refcount); | 220 | nvgpu_ref_init(&g->refcount); |
221 | 221 | ||
222 | return 0; | 222 | return 0; |
223 | } | 223 | } |