diff --git a/drivers/gpu/nvgpu/common/linux/debug.c b/drivers/gpu/nvgpu/common/linux/debug.c index 76018f8d0..169bfbc5b 100644 --- a/drivers/gpu/nvgpu/common/linux/debug.c +++ b/drivers/gpu/nvgpu/common/linux/debug.c @@ -304,7 +304,7 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink) debugfs_create_u32("ch_wdt_timeout_ms", S_IRUGO|S_IWUSR, l->debugfs, &g->ch_wdt_timeout_ms); - debugfs_create_u32("disable_syncpoints", S_IRUGO, + debugfs_create_u32("disable_syncpoints", S_IRUGO|S_IWUSR, l->debugfs, &g->disable_syncpoints); /* Legacy debugging API. */