diff options
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_fs.c b/drivers/infiniband/ulp/ipoib/ipoib_fs.c index 44c174182a82..8b882bbd1d05 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_fs.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_fs.c | |||
@@ -124,7 +124,7 @@ static int ipoib_mcg_seq_show(struct seq_file *file, void *iter_ptr) | |||
124 | return 0; | 124 | return 0; |
125 | } | 125 | } |
126 | 126 | ||
127 | static struct seq_operations ipoib_mcg_seq_ops = { | 127 | static const struct seq_operations ipoib_mcg_seq_ops = { |
128 | .start = ipoib_mcg_seq_start, | 128 | .start = ipoib_mcg_seq_start, |
129 | .next = ipoib_mcg_seq_next, | 129 | .next = ipoib_mcg_seq_next, |
130 | .stop = ipoib_mcg_seq_stop, | 130 | .stop = ipoib_mcg_seq_stop, |
@@ -230,7 +230,7 @@ static int ipoib_path_seq_show(struct seq_file *file, void *iter_ptr) | |||
230 | return 0; | 230 | return 0; |
231 | } | 231 | } |
232 | 232 | ||
233 | static struct seq_operations ipoib_path_seq_ops = { | 233 | static const struct seq_operations ipoib_path_seq_ops = { |
234 | .start = ipoib_path_seq_start, | 234 | .start = ipoib_path_seq_start, |
235 | .next = ipoib_path_seq_next, | 235 | .next = ipoib_path_seq_next, |
236 | .stop = ipoib_path_seq_stop, | 236 | .stop = ipoib_path_seq_stop, |