diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 7bd6acfd..c50d800f 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -362,9 +362,8 @@ int gk20a_can_busy(struct gk20a *g) | |||
362 | return 1; | 362 | return 1; |
363 | } | 363 | } |
364 | 364 | ||
365 | int gk20a_wait_for_idle(struct device *dev) | 365 | int gk20a_wait_for_idle(struct gk20a *g) |
366 | { | 366 | { |
367 | struct gk20a *g = get_gk20a(dev); | ||
368 | int wait_length = 150; /* 3 second overall max wait. */ | 367 | int wait_length = 150; /* 3 second overall max wait. */ |
369 | int target_usage_count = 0; | 368 | int target_usage_count = 0; |
370 | 369 | ||