summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/pci.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/pci.c b/drivers/gpu/nvgpu/common/linux/pci.c
index 0bad2b67..b4e6cb7c 100644
--- a/drivers/gpu/nvgpu/common/linux/pci.c
+++ b/drivers/gpu/nvgpu/common/linux/pci.c
@@ -463,8 +463,10 @@ static void nvgpu_pci_remove(struct pci_dev *pdev)
463 gk20a_user_deinit(g->dev, &nvgpu_pci_class); 463 gk20a_user_deinit(g->dev, &nvgpu_pci_class);
464 gk20a_dbg(gpu_dbg_shutdown, "User de-init done.\b"); 464 gk20a_dbg(gpu_dbg_shutdown, "User de-init done.\b");
465 465
466#ifdef CONFIG_DEBUG_FS
466 debugfs_remove_recursive(platform->debugfs); 467 debugfs_remove_recursive(platform->debugfs);
467 debugfs_remove_recursive(platform->debugfs_alias); 468 debugfs_remove_recursive(platform->debugfs_alias);
469#endif
468 470
469 gk20a_remove_sysfs(g->dev); 471 gk20a_remove_sysfs(g->dev);
470 472