projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7d9dc9
)
block: constify function pointer tables
author
Jan Engelhardt
<jengelh@computergmbh.de>
Tue, 29 Jan 2008 19:57:51 +0000
(20:57 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 29 Jan 2008 20:55:19 +0000
(21:55 +0100)
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/genhd.c
patch
|
blob
|
blame
|
history
diff --git
a/block/genhd.c
b/block/genhd.c
index 5e4ab4b37d9f4f94e05a8c741693cafd177d28f0..de2ebb2fab436119cf16b862c720c15be6d991c4 100644
(file)
--- 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,