X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=block%2Fgenhd.c;h=de2ebb2fab436119cf16b862c720c15be6d991c4;hb=f2cc3eb133baa2e9dc8efd40f417106b2ee520f3;hp=5e4ab4b37d9f4f94e05a8c741693cafd177d28f0;hpb=2d94dfc8c38edf63e91e48fd55c3a8822b6a9ced;p=linux-2.6-omap-h63xx.git diff --git a/block/genhd.c b/block/genhd.c index 5e4ab4b37d9..de2ebb2fab4 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -337,7 +337,7 @@ static int show_partition(struct seq_file *part, void *v) return 0; } -struct seq_operations partitions_op = { +const struct seq_operations partitions_op = { .start = part_start, .next = part_next, .stop = part_stop, @@ -595,7 +595,7 @@ static int diskstats_show(struct seq_file *s, void *v) return 0; } -struct seq_operations diskstats_op = { +const struct seq_operations diskstats_op = { .start = diskstats_start, .next = diskstats_next, .stop = diskstats_stop,