summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorThomas Fleury <tfleury@nvidia.com>2016-05-06 12:14:46 -0400
committerSachin Nikam <snikam@nvidia.com>2016-05-08 10:44:01 -0400
commitf138e7f69d7918d597d2df34af1e1d0353ea2888 (patch)
treeee47ef166818ae8f6f2b1e6256510413fe65e9ef /drivers
parent70d531388205852865d48469cfbd9d0c996acd53 (diff)
gpu: nvgpu: fix sparse warning
Fix below sparse warnings: drivers/gpu/nvgpu/gk20a/fifo_gk20a.c:2628:29: warning: symbol 'gk20a_fifo_sched_debugfs_seq_ ops' was not declared. Should it be static? drivers/gpu/nvgpu/gk20a/fifo_gk20a.c:2657:30: warning: symbol 'gk20a_fifo_sched_debugfs_fops' was not declared. Should it be static? Bug 200088648 Change-Id: I4e12ca0988b2d9dd7962d026a3a0f9f674e89ada Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: http://git-master/r/1142909 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fifo_gk20a.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
index fa8ab5b1..aa8e0c40 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
@@ -2625,7 +2625,7 @@ static int gk20a_fifo_sched_debugfs_seq_show(
2625 return 0; 2625 return 0;
2626} 2626}
2627 2627
2628const struct seq_operations gk20a_fifo_sched_debugfs_seq_ops = { 2628static const struct seq_operations gk20a_fifo_sched_debugfs_seq_ops = {
2629 .start = gk20a_fifo_sched_debugfs_seq_start, 2629 .start = gk20a_fifo_sched_debugfs_seq_start,
2630 .next = gk20a_fifo_sched_debugfs_seq_next, 2630 .next = gk20a_fifo_sched_debugfs_seq_next,
2631 .stop = gk20a_fifo_sched_debugfs_seq_stop, 2631 .stop = gk20a_fifo_sched_debugfs_seq_stop,
@@ -2654,7 +2654,7 @@ static int gk20a_fifo_sched_debugfs_open(struct inode *inode,
2654 * The file operations structure contains our open function along with 2654 * The file operations structure contains our open function along with
2655 * set of the canned seq_ ops. 2655 * set of the canned seq_ ops.
2656 */ 2656 */
2657const struct file_operations gk20a_fifo_sched_debugfs_fops = { 2657static const struct file_operations gk20a_fifo_sched_debugfs_fops = {
2658 .owner = THIS_MODULE, 2658 .owner = THIS_MODULE,
2659 .open = gk20a_fifo_sched_debugfs_open, 2659 .open = gk20a_fifo_sched_debugfs_open,
2660 .read = seq_read, 2660 .read = seq_read,