diff options
Diffstat (limited to 'block/genhd.c')
-rw-r--r-- | block/genhd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/genhd.c b/block/genhd.c index 5e4ab4b37d9f..de2ebb2fab43 100644 --- a/block/genhd.c +++ b/block/genhd.c | |||
@@ -337,7 +337,7 @@ static int show_partition(struct seq_file *part, void *v) | |||
337 | return 0; | 337 | return 0; |
338 | } | 338 | } |
339 | 339 | ||
340 | struct seq_operations partitions_op = { | 340 | const struct seq_operations partitions_op = { |
341 | .start = part_start, | 341 | .start = part_start, |
342 | .next = part_next, | 342 | .next = part_next, |
343 | .stop = part_stop, | 343 | .stop = part_stop, |
@@ -595,7 +595,7 @@ static int diskstats_show(struct seq_file *s, void *v) | |||
595 | return 0; | 595 | return 0; |
596 | } | 596 | } |
597 | 597 | ||
598 | struct seq_operations diskstats_op = { | 598 | const struct seq_operations diskstats_op = { |
599 | .start = diskstats_start, | 599 | .start = diskstats_start, |
600 | .next = diskstats_next, | 600 | .next = diskstats_next, |
601 | .stop = diskstats_stop, | 601 | .stop = diskstats_stop, |