summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os/linux/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/module.c')
-rw-r--r--drivers/gpu/nvgpu/os/linux/module.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/module.c b/drivers/gpu/nvgpu/os/linux/module.c
index 02b0ea5c..169baaf4 100644
--- a/drivers/gpu/nvgpu/os/linux/module.c
+++ b/drivers/gpu/nvgpu/os/linux/module.c
@@ -206,6 +206,14 @@ int nvgpu_finalize_poweron_linux(struct nvgpu_os_linux *l)
206 } 206 }
207 } 207 }
208 208
209 if (l->ops.therm.init_debugfs) {
210 err = l->ops.therm.init_debugfs(g);
211 if (err) {
212 nvgpu_err(g, "failed to init linux therm debugfs");
213 return err;
214 }
215 }
216
209 l->init_done = true; 217 l->init_done = true;
210 218
211 return 0; 219 return 0;