aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2008-02-08 07:21:19 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 12:22:38 -0500
commit03a44825be987d720df854f63b2f7bd30e46bdde (patch)
tree6ac01a425ff2201db972fd3b836efc9b0ab6eaec /arch
parentec26e11740cdff8c3c8330ea235478704ffb4a71 (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.c2
-rw-r--r--arch/blackfin/kernel/setup.c2
-rw-r--r--arch/cris/kernel/setup.c2
-rw-r--r--arch/frv/kernel/setup.c2
-rw-r--r--arch/h8300/kernel/setup.c2
-rw-r--r--arch/m32r/kernel/setup.c2
-rw-r--r--arch/m68k/kernel/setup.c2
-rw-r--r--arch/m68knommu/kernel/setup.c2
-rw-r--r--arch/parisc/kernel/setup.c2
-rw-r--r--arch/ppc/kernel/setup.c2
-rw-r--r--arch/v850/kernel/procfs.c2
-rw-r--r--arch/xtensa/kernel/setup.c2
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
1474struct seq_operations cpuinfo_op = { 1474const 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
703struct seq_operations cpuinfo_op = { 703const 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
181extern int show_cpuinfo(struct seq_file *m, void *v); 181extern int show_cpuinfo(struct seq_file *m, void *v);
182 182
183struct seq_operations cpuinfo_op = { 183const 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
1116struct seq_operations cpuinfo_op = { 1116const 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
239struct seq_operations cpuinfo_op = { 239const 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
372struct seq_operations cpuinfo_op = { 372const 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)
450static void c_stop(struct seq_file *m, void *v) 450static void c_stop(struct seq_file *m, void *v)
451{ 451{
452} 452}
453struct seq_operations cpuinfo_op = { 453const 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
263struct seq_operations cpuinfo_op = { 263const 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
193struct seq_operations cpuinfo_op = { 193const 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
278struct seq_operations cpuinfo_op = { 278const 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
62struct seq_operations cpuinfo_op = { 62const 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
472struct seq_operations cpuinfo_op = 472const struct seq_operations cpuinfo_op =
473{ 473{
474 start: c_start, 474 start: c_start,
475 next: c_next, 475 next: c_next,