diff --git a/drivers/gpu/nvgpu/os/linux/debug_clk_gv100.h b/drivers/gpu/nvgpu/os/linux/debug_clk_gv100.h index 38ba61bdb..419b4abf1 100644 --- a/drivers/gpu/nvgpu/os/linux/debug_clk_gv100.h +++ b/drivers/gpu/nvgpu/os/linux/debug_clk_gv100.h @@ -20,7 +20,7 @@ #ifdef CONFIG_DEBUG_FS int gv100_clk_init_debugfs(struct gk20a *g); #else -inline int gv100_clk_init_debugfs(struct gk20a *g) +static inline int gv100_clk_init_debugfs(struct gk20a *g) { return 0; } diff --git a/drivers/gpu/nvgpu/os/linux/debug_fecs_trace.h b/drivers/gpu/nvgpu/os/linux/debug_fecs_trace.h index a545f2db9..54ebaaf9f 100644 --- a/drivers/gpu/nvgpu/os/linux/debug_fecs_trace.h +++ b/drivers/gpu/nvgpu/os/linux/debug_fecs_trace.h @@ -22,7 +22,7 @@ struct gk20a; #if defined(CONFIG_DEBUG_FS) && defined(CONFIG_GK20A_CTXSW_TRACE) int nvgpu_fecs_trace_init_debugfs(struct gk20a *g); #else -int nvgpu_fecs_trace_init_debugfs(struct gk20a *g) +static int nvgpu_fecs_trace_init_debugfs(struct gk20a *g) { return 0; } diff --git a/drivers/gpu/nvgpu/os/linux/debug_therm_gp106.h b/drivers/gpu/nvgpu/os/linux/debug_therm_gp106.h index 6ebc9f584..3e9380dfd 100644 --- a/drivers/gpu/nvgpu/os/linux/debug_therm_gp106.h +++ b/drivers/gpu/nvgpu/os/linux/debug_therm_gp106.h @@ -20,7 +20,7 @@ #ifdef CONFIG_DEBUG_FS int gp106_therm_init_debugfs(struct gk20a *g); #else -inline int gp106_therm_init_debugfs(struct gk20a *g) +static inline int gp106_therm_init_debugfs(struct gk20a *g) { return 0; }