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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 3d887d85..7b0db427 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -1460,6 +1460,9 @@ static int __exit gk20a_remove(struct platform_device *dev)
1460 cfb_remove_device(&dev->dev); 1460 cfb_remove_device(&dev->dev);
1461#endif 1461#endif
1462 1462
1463 if (IS_ENABLED(CONFIG_GK20A_DEVFREQ))
1464 gk20a_scale_exit(dev);
1465
1463 if (g->remove_support) 1466 if (g->remove_support)
1464 g->remove_support(dev); 1467 g->remove_support(dev);
1465 1468