diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-22 21:29:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-22 21:29:20 -0500 |
commit | 872e2be7c4056496c2871bd9b0f2fae6c374fe47 (patch) | |
tree | e08be566eb60401974d5a2bdbd87e4da846d4e2e /arch | |
parent | 2ad913babd5d597f9d9d71d9e93dd589d55e66cd (diff) |
[SPARC]: Constify function pointer tables.
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/sparc64/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/sparc64/solaris/socksys.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc/kernel/setup.c b/arch/sparc/kernel/setup.c index f8228383895a..d07bc74773aa 100644 --- a/arch/sparc/kernel/setup.c +++ b/arch/sparc/kernel/setup.c | |||
@@ -379,7 +379,7 @@ static void c_stop(struct seq_file *m, void *v) | |||
379 | { | 379 | { |
380 | } | 380 | } |
381 | 381 | ||
382 | struct seq_operations cpuinfo_op = { | 382 | const struct seq_operations cpuinfo_op = { |
383 | .start =c_start, | 383 | .start =c_start, |
384 | .next = c_next, | 384 | .next = c_next, |
385 | .stop = c_stop, | 385 | .stop = c_stop, |
diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c index 0f5be828ee92..a813441b358f 100644 --- a/arch/sparc64/kernel/setup.c +++ b/arch/sparc64/kernel/setup.c | |||
@@ -421,7 +421,7 @@ static void c_stop(struct seq_file *m, void *v) | |||
421 | { | 421 | { |
422 | } | 422 | } |
423 | 423 | ||
424 | struct seq_operations cpuinfo_op = { | 424 | const struct seq_operations cpuinfo_op = { |
425 | .start =c_start, | 425 | .start =c_start, |
426 | .next = c_next, | 426 | .next = c_next, |
427 | .stop = c_stop, | 427 | .stop = c_stop, |
diff --git a/arch/sparc64/solaris/socksys.c b/arch/sparc64/solaris/socksys.c index 7736411f244f..5f064183c874 100644 --- a/arch/sparc64/solaris/socksys.c +++ b/arch/sparc64/solaris/socksys.c | |||
@@ -54,7 +54,7 @@ extern void mykfree(void *); | |||
54 | 54 | ||
55 | static unsigned int (*sock_poll)(struct file *, poll_table *); | 55 | static unsigned int (*sock_poll)(struct file *, poll_table *); |
56 | 56 | ||
57 | static struct file_operations socksys_file_ops = { | 57 | static const struct file_operations socksys_file_ops = { |
58 | /* Currently empty */ | 58 | /* Currently empty */ |
59 | }; | 59 | }; |
60 | 60 | ||