diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/debug_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/debug_gk20a.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/debug_gk20a.c b/drivers/gpu/nvgpu/gk20a/debug_gk20a.c index 1cac683d..67434e7f 100644 --- a/drivers/gpu/nvgpu/gk20a/debug_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/debug_gk20a.c | |||
@@ -410,6 +410,10 @@ void gk20a_debug_init(struct platform_device *pdev) | |||
410 | gk20a_device = pdev; | 410 | gk20a_device = pdev; |
411 | 411 | ||
412 | platform->debugfs = debugfs_create_dir(pdev->name, NULL); | 412 | platform->debugfs = debugfs_create_dir(pdev->name, NULL); |
413 | if (platform->debugfs) { | ||
414 | platform->debugfs_alias = | ||
415 | debugfs_create_symlink("gpu.0", NULL, pdev->name); | ||
416 | } | ||
413 | 417 | ||
414 | debugfs_create_file("status", S_IRUGO, platform->debugfs, | 418 | debugfs_create_file("status", S_IRUGO, platform->debugfs, |
415 | pdev, &gk20a_debug_fops); | 419 | pdev, &gk20a_debug_fops); |