summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/os/linux/debug_clk_gv100.h2
-rw-r--r--drivers/gpu/nvgpu/os/linux/debug_fecs_trace.h2
-rw-r--r--drivers/gpu/nvgpu/os/linux/debug_therm_gp106.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/debug_clk_gv100.h b/drivers/gpu/nvgpu/os/linux/debug_clk_gv100.h
index 38ba61bd..419b4abf 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 @@
20#ifdef CONFIG_DEBUG_FS 20#ifdef CONFIG_DEBUG_FS
21int gv100_clk_init_debugfs(struct gk20a *g); 21int gv100_clk_init_debugfs(struct gk20a *g);
22#else 22#else
23inline int gv100_clk_init_debugfs(struct gk20a *g) 23static inline int gv100_clk_init_debugfs(struct gk20a *g)
24{ 24{
25 return 0; 25 return 0;
26} 26}
diff --git a/drivers/gpu/nvgpu/os/linux/debug_fecs_trace.h b/drivers/gpu/nvgpu/os/linux/debug_fecs_trace.h
index a545f2db..54ebaaf9 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;
22#if defined(CONFIG_DEBUG_FS) && defined(CONFIG_GK20A_CTXSW_TRACE) 22#if defined(CONFIG_DEBUG_FS) && defined(CONFIG_GK20A_CTXSW_TRACE)
23int nvgpu_fecs_trace_init_debugfs(struct gk20a *g); 23int nvgpu_fecs_trace_init_debugfs(struct gk20a *g);
24#else 24#else
25int nvgpu_fecs_trace_init_debugfs(struct gk20a *g) 25static int nvgpu_fecs_trace_init_debugfs(struct gk20a *g)
26{ 26{
27 return 0; 27 return 0;
28} 28}
diff --git a/drivers/gpu/nvgpu/os/linux/debug_therm_gp106.h b/drivers/gpu/nvgpu/os/linux/debug_therm_gp106.h
index 6ebc9f58..3e9380df 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 @@
20#ifdef CONFIG_DEBUG_FS 20#ifdef CONFIG_DEBUG_FS
21int gp106_therm_init_debugfs(struct gk20a *g); 21int gp106_therm_init_debugfs(struct gk20a *g);
22#else 22#else
23inline int gp106_therm_init_debugfs(struct gk20a *g) 23static inline int gp106_therm_init_debugfs(struct gk20a *g)
24{ 24{
25 return 0; 25 return 0;
26} 26}