diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/debug_clk_gv100.h | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/debug_fecs_trace.h | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/debug_therm_gp106.h | 2 |
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 |
21 | int gv100_clk_init_debugfs(struct gk20a *g); | 21 | int gv100_clk_init_debugfs(struct gk20a *g); |
22 | #else | 22 | #else |
23 | inline int gv100_clk_init_debugfs(struct gk20a *g) | 23 | static 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) |
23 | int nvgpu_fecs_trace_init_debugfs(struct gk20a *g); | 23 | int nvgpu_fecs_trace_init_debugfs(struct gk20a *g); |
24 | #else | 24 | #else |
25 | int nvgpu_fecs_trace_init_debugfs(struct gk20a *g) | 25 | static 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 |
21 | int gp106_therm_init_debugfs(struct gk20a *g); | 21 | int gp106_therm_init_debugfs(struct gk20a *g); |
22 | #else | 22 | #else |
23 | inline int gp106_therm_init_debugfs(struct gk20a *g) | 23 | static inline int gp106_therm_init_debugfs(struct gk20a *g) |
24 | { | 24 | { |
25 | return 0; | 25 | return 0; |
26 | } | 26 | } |