diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-02-08 07:21:19 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 12:22:38 -0500 |
commit | 03a44825be987d720df854f63b2f7bd30e46bdde (patch) | |
tree | 6ac01a425ff2201db972fd3b836efc9b0ab6eaec /arch | |
parent | ec26e11740cdff8c3c8330ea235478704ffb4a71 (diff) |
procfs: constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Acked-By: David Howells <dhowells@redhat.com>
Acked-by: Bryan Wu <bryan.wu@analog.com>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/blackfin/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/cris/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/frv/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/h8300/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/m32r/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/m68k/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/m68knommu/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/parisc/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/ppc/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/v850/kernel/procfs.c | 2 | ||||
-rw-r--r-- | arch/xtensa/kernel/setup.c | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/arch/alpha/kernel/setup.c b/arch/alpha/kernel/setup.c index 4e71ebb4ed49..a449e999027c 100644 --- a/arch/alpha/kernel/setup.c +++ b/arch/alpha/kernel/setup.c | |||
@@ -1471,7 +1471,7 @@ c_stop(struct seq_file *f, void *v) | |||
1471 | { | 1471 | { |
1472 | } | 1472 | } |
1473 | 1473 | ||
1474 | struct seq_operations cpuinfo_op = { | 1474 | const struct seq_operations cpuinfo_op = { |
1475 | .start = c_start, | 1475 | .start = c_start, |
1476 | .next = c_next, | 1476 | .next = c_next, |
1477 | .stop = c_stop, | 1477 | .stop = c_stop, |
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index 6e106b3d7729..289ea9d7fcdb 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c | |||
@@ -700,7 +700,7 @@ static void c_stop(struct seq_file *m, void *v) | |||
700 | { | 700 | { |
701 | } | 701 | } |
702 | 702 | ||
703 | struct seq_operations cpuinfo_op = { | 703 | const struct seq_operations cpuinfo_op = { |
704 | .start = c_start, | 704 | .start = c_start, |
705 | .next = c_next, | 705 | .next = c_next, |
706 | .stop = c_stop, | 706 | .stop = c_stop, |
diff --git a/arch/cris/kernel/setup.c b/arch/cris/kernel/setup.c index 4da042e100a0..c34fb235b09f 100644 --- a/arch/cris/kernel/setup.c +++ b/arch/cris/kernel/setup.c | |||
@@ -180,7 +180,7 @@ static void c_stop(struct seq_file *m, void *v) | |||
180 | 180 | ||
181 | extern int show_cpuinfo(struct seq_file *m, void *v); | 181 | extern int show_cpuinfo(struct seq_file *m, void *v); |
182 | 182 | ||
183 | struct seq_operations cpuinfo_op = { | 183 | const struct seq_operations cpuinfo_op = { |
184 | .start = c_start, | 184 | .start = c_start, |
185 | .next = c_next, | 185 | .next = c_next, |
186 | .stop = c_stop, | 186 | .stop = c_stop, |
diff --git a/arch/frv/kernel/setup.c b/arch/frv/kernel/setup.c index 6c01464db699..0669e1382383 100644 --- a/arch/frv/kernel/setup.c +++ b/arch/frv/kernel/setup.c | |||
@@ -1113,7 +1113,7 @@ static void c_stop(struct seq_file *m, void *v) | |||
1113 | { | 1113 | { |
1114 | } | 1114 | } |
1115 | 1115 | ||
1116 | struct seq_operations cpuinfo_op = { | 1116 | const struct seq_operations cpuinfo_op = { |
1117 | .start = c_start, | 1117 | .start = c_start, |
1118 | .next = c_next, | 1118 | .next = c_next, |
1119 | .stop = c_stop, | 1119 | .stop = c_stop, |
diff --git a/arch/h8300/kernel/setup.c b/arch/h8300/kernel/setup.c index cd3734614d9d..b1f25c20a5db 100644 --- a/arch/h8300/kernel/setup.c +++ b/arch/h8300/kernel/setup.c | |||
@@ -236,7 +236,7 @@ static void c_stop(struct seq_file *m, void *v) | |||
236 | { | 236 | { |
237 | } | 237 | } |
238 | 238 | ||
239 | struct seq_operations cpuinfo_op = { | 239 | const struct seq_operations cpuinfo_op = { |
240 | .start = c_start, | 240 | .start = c_start, |
241 | .next = c_next, | 241 | .next = c_next, |
242 | .stop = c_stop, | 242 | .stop = c_stop, |
diff --git a/arch/m32r/kernel/setup.c b/arch/m32r/kernel/setup.c index f1f5db0c4084..0392112a5d70 100644 --- a/arch/m32r/kernel/setup.c +++ b/arch/m32r/kernel/setup.c | |||
@@ -369,7 +369,7 @@ static void c_stop(struct seq_file *m, void *v) | |||
369 | { | 369 | { |
370 | } | 370 | } |
371 | 371 | ||
372 | struct seq_operations cpuinfo_op = { | 372 | const struct seq_operations cpuinfo_op = { |
373 | .start = c_start, | 373 | .start = c_start, |
374 | .next = c_next, | 374 | .next = c_next, |
375 | .stop = c_stop, | 375 | .stop = c_stop, |
diff --git a/arch/m68k/kernel/setup.c b/arch/m68k/kernel/setup.c index 9a06c48edcb3..bba650312fd9 100644 --- a/arch/m68k/kernel/setup.c +++ b/arch/m68k/kernel/setup.c | |||
@@ -450,7 +450,7 @@ static void *c_next(struct seq_file *m, void *v, loff_t *pos) | |||
450 | static void c_stop(struct seq_file *m, void *v) | 450 | static void c_stop(struct seq_file *m, void *v) |
451 | { | 451 | { |
452 | } | 452 | } |
453 | struct seq_operations cpuinfo_op = { | 453 | const struct seq_operations cpuinfo_op = { |
454 | .start = c_start, | 454 | .start = c_start, |
455 | .next = c_next, | 455 | .next = c_next, |
456 | .stop = c_stop, | 456 | .stop = c_stop, |
diff --git a/arch/m68knommu/kernel/setup.c b/arch/m68knommu/kernel/setup.c index 156c6c662c7e..d6f0200316fe 100644 --- a/arch/m68knommu/kernel/setup.c +++ b/arch/m68knommu/kernel/setup.c | |||
@@ -260,7 +260,7 @@ static void c_stop(struct seq_file *m, void *v) | |||
260 | { | 260 | { |
261 | } | 261 | } |
262 | 262 | ||
263 | struct seq_operations cpuinfo_op = { | 263 | const struct seq_operations cpuinfo_op = { |
264 | .start = c_start, | 264 | .start = c_start, |
265 | .next = c_next, | 265 | .next = c_next, |
266 | .stop = c_stop, | 266 | .stop = c_stop, |
diff --git a/arch/parisc/kernel/setup.c b/arch/parisc/kernel/setup.c index c44b8c51f5d1..39e7c5a5946a 100644 --- a/arch/parisc/kernel/setup.c +++ b/arch/parisc/kernel/setup.c | |||
@@ -190,7 +190,7 @@ c_stop (struct seq_file *m, void *v) | |||
190 | { | 190 | { |
191 | } | 191 | } |
192 | 192 | ||
193 | struct seq_operations cpuinfo_op = { | 193 | const struct seq_operations cpuinfo_op = { |
194 | .start = c_start, | 194 | .start = c_start, |
195 | .next = c_next, | 195 | .next = c_next, |
196 | .stop = c_stop, | 196 | .stop = c_stop, |
diff --git a/arch/ppc/kernel/setup.c b/arch/ppc/kernel/setup.c index d51368d72e39..294055902f0c 100644 --- a/arch/ppc/kernel/setup.c +++ b/arch/ppc/kernel/setup.c | |||
@@ -275,7 +275,7 @@ static void c_stop(struct seq_file *m, void *v) | |||
275 | { | 275 | { |
276 | } | 276 | } |
277 | 277 | ||
278 | struct seq_operations cpuinfo_op = { | 278 | const struct seq_operations cpuinfo_op = { |
279 | .start =c_start, | 279 | .start =c_start, |
280 | .next = c_next, | 280 | .next = c_next, |
281 | .stop = c_stop, | 281 | .stop = c_stop, |
diff --git a/arch/v850/kernel/procfs.c b/arch/v850/kernel/procfs.c index e6f9d060ad5b..e433cde789b4 100644 --- a/arch/v850/kernel/procfs.c +++ b/arch/v850/kernel/procfs.c | |||
@@ -59,7 +59,7 @@ static void cpuinfo_stop (struct seq_file *m, void *v) | |||
59 | { | 59 | { |
60 | } | 60 | } |
61 | 61 | ||
62 | struct seq_operations cpuinfo_op = { | 62 | const struct seq_operations cpuinfo_op = { |
63 | .start = cpuinfo_start, | 63 | .start = cpuinfo_start, |
64 | .next = cpuinfo_next, | 64 | .next = cpuinfo_next, |
65 | .stop = cpuinfo_stop, | 65 | .stop = cpuinfo_stop, |
diff --git a/arch/xtensa/kernel/setup.c b/arch/xtensa/kernel/setup.c index 2e8d398cf196..b80f2cb1b4fb 100644 --- a/arch/xtensa/kernel/setup.c +++ b/arch/xtensa/kernel/setup.c | |||
@@ -469,7 +469,7 @@ c_stop(struct seq_file *f, void *v) | |||
469 | { | 469 | { |
470 | } | 470 | } |
471 | 471 | ||
472 | struct seq_operations cpuinfo_op = | 472 | const struct seq_operations cpuinfo_op = |
473 | { | 473 | { |
474 | start: c_start, | 474 | start: c_start, |
475 | next: c_next, | 475 | next: c_next, |