diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/module.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/module.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/module.c b/drivers/gpu/nvgpu/common/linux/module.c index d5fc40de..4f7fc3fa 100644 --- a/drivers/gpu/nvgpu/common/linux/module.c +++ b/drivers/gpu/nvgpu/common/linux/module.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <nvgpu/nvgpu_common.h> | 29 | #include <nvgpu/nvgpu_common.h> |
30 | #include <nvgpu/soc.h> | 30 | #include <nvgpu/soc.h> |
31 | #include <nvgpu/enabled.h> | 31 | #include <nvgpu/enabled.h> |
32 | #include <nvgpu/debug.h> | ||
32 | 33 | ||
33 | #include "gk20a/gk20a.h" | 34 | #include "gk20a/gk20a.h" |
34 | #include "gk20a/platform_gk20a.h" | 35 | #include "gk20a/platform_gk20a.h" |
@@ -970,10 +971,7 @@ static int __exit gk20a_remove(struct platform_device *pdev) | |||
970 | 971 | ||
971 | gk20a_user_deinit(dev, &nvgpu_class); | 972 | gk20a_user_deinit(dev, &nvgpu_class); |
972 | 973 | ||
973 | #ifdef CONFIG_DEBUG_FS | 974 | gk20a_debug_deinit(g); |
974 | debugfs_remove_recursive(platform->debugfs); | ||
975 | debugfs_remove_recursive(platform->debugfs_alias); | ||
976 | #endif | ||
977 | 975 | ||
978 | gk20a_remove_sysfs(dev); | 976 | gk20a_remove_sysfs(dev); |
979 | 977 | ||