diff --git a/drivers/gpu/nvgpu/os/linux/module.c b/drivers/gpu/nvgpu/os/linux/module.c index 46850a059..71a6cef61 100644 --- a/drivers/gpu/nvgpu/os/linux/module.c +++ b/drivers/gpu/nvgpu/os/linux/module.c @@ -683,6 +683,10 @@ void gk20a_remove_support(struct gk20a *g) if (g->pmu.remove_support) g->pmu.remove_support(&g->pmu); + if (g->sec2.remove_support != NULL) { + g->sec2.remove_support(&g->sec2); + } + if (g->acr.remove_support != NULL) { g->acr.remove_support(&g->acr); }