summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 0fee58e8..0cc9564b 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -1397,9 +1397,11 @@ static int gk20a_probe(struct platform_device *dev)
1397 1397
1398 spin_lock_init(&gk20a->mc_enable_lock); 1398 spin_lock_init(&gk20a->mc_enable_lock);
1399 1399
1400#ifdef CONFIG_RESET_CONTROLLER
1400 platform->reset_control = devm_reset_control_get(&dev->dev, NULL); 1401 platform->reset_control = devm_reset_control_get(&dev->dev, NULL);
1401 if (IS_ERR(platform->reset_control)) 1402 if (IS_ERR(platform->reset_control))
1402 platform->reset_control = NULL; 1403 platform->reset_control = NULL;
1404#endif
1403 1405
1404 gk20a_debug_init(dev); 1406 gk20a_debug_init(dev);
1405 1407