diff options
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c b/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c index 9e78c843..c292540f 100644 --- a/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c | |||
@@ -90,7 +90,7 @@ static inline int gk20a_fecs_trace_num_ts(void) | |||
90 | - sizeof(struct gk20a_fecs_trace_record)) / sizeof(u64); | 90 | - sizeof(struct gk20a_fecs_trace_record)) / sizeof(u64); |
91 | } | 91 | } |
92 | 92 | ||
93 | struct gk20a_fecs_trace_record *gk20a_fecs_trace_get_record( | 93 | static struct gk20a_fecs_trace_record *gk20a_fecs_trace_get_record( |
94 | struct gk20a_fecs_trace *trace, int idx) | 94 | struct gk20a_fecs_trace *trace, int idx) |
95 | { | 95 | { |
96 | return (struct gk20a_fecs_trace_record *) | 96 | return (struct gk20a_fecs_trace_record *) |
@@ -475,7 +475,7 @@ static int gk20a_fecs_trace_debugfs_ring_seq_show( | |||
475 | /* | 475 | /* |
476 | * Tie them all together into a set of seq_operations. | 476 | * Tie them all together into a set of seq_operations. |
477 | */ | 477 | */ |
478 | const struct seq_operations gk20a_fecs_trace_debugfs_ring_seq_ops = { | 478 | static const struct seq_operations gk20a_fecs_trace_debugfs_ring_seq_ops = { |
479 | .start = gk20a_fecs_trace_debugfs_ring_seq_start, | 479 | .start = gk20a_fecs_trace_debugfs_ring_seq_start, |
480 | .next = gk20a_fecs_trace_debugfs_ring_seq_next, | 480 | .next = gk20a_fecs_trace_debugfs_ring_seq_next, |
481 | .stop = gk20a_fecs_trace_debugfs_ring_seq_stop, | 481 | .stop = gk20a_fecs_trace_debugfs_ring_seq_stop, |
@@ -508,7 +508,7 @@ static int gk20a_ctxsw_debugfs_ring_open(struct inode *inode, | |||
508 | * The file operations structure contains our open function along with | 508 | * The file operations structure contains our open function along with |
509 | * set of the canned seq_ ops. | 509 | * set of the canned seq_ ops. |
510 | */ | 510 | */ |
511 | const struct file_operations gk20a_fecs_trace_debugfs_ring_fops = { | 511 | static const struct file_operations gk20a_fecs_trace_debugfs_ring_fops = { |
512 | .owner = THIS_MODULE, | 512 | .owner = THIS_MODULE, |
513 | .open = gk20a_ctxsw_debugfs_ring_open, | 513 | .open = gk20a_ctxsw_debugfs_ring_open, |
514 | .read = seq_read, | 514 | .read = seq_read, |