diff --git a/drivers/gpu/nvgpu/os/linux/debug_gr.c b/drivers/gpu/nvgpu/os/linux/debug_gr.c index 74b7015e1..7830e4cb5 100644 --- a/drivers/gpu/nvgpu/os/linux/debug_gr.c +++ b/drivers/gpu/nvgpu/os/linux/debug_gr.c @@ -477,7 +477,7 @@ int gr_gk20a_debugfs_init(struct gk20a *g) if (!d) return -ENOMEM; /* Using debugfs_create_file_unsafe to allow mmap */ - d = debugfs_create_file_unsafe("cbc_ctrl", S_IRUSR | S_IWUSR, + d = debugfs_create_file_unsafe("cbc_ctrl", S_IWUSR, l->debugfs, g, &cbc_ctrl_debug_fops); if (!d) return -ENOMEM;