aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2008-01-26 08:11:29 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-01-26 08:11:32 -0500
commit5c81cdbeff72e7fc2eb62ee5dc26197e54f9a06c (patch)
treed679ff35c002333b7653c79244caf730b79d607a /arch
parent894cdde26b538c77b9943bc72f0570abf6e58e37 (diff)
[S390] constify function pointer tables.
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/crypto/prng.c2
-rw-r--r--arch/s390/kernel/setup.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/crypto/prng.c b/arch/s390/crypto/prng.c
index 23ed094c52fe..0cfefddd8375 100644
--- a/arch/s390/crypto/prng.c
+++ b/arch/s390/crypto/prng.c
@@ -146,7 +146,7 @@ static ssize_t prng_read(struct file *file, char __user *ubuf, size_t nbytes,
146 return ret; 146 return ret;
147} 147}
148 148
149static struct file_operations prng_fops = { 149static const struct file_operations prng_fops = {
150 .owner = THIS_MODULE, 150 .owner = THIS_MODULE,
151 .open = &prng_open, 151 .open = &prng_open,
152 .release = NULL, 152 .release = NULL,
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c
index fcebf645618a..766c783bd7a7 100644
--- a/arch/s390/kernel/setup.c
+++ b/arch/s390/kernel/setup.c
@@ -917,7 +917,7 @@ static void *c_next(struct seq_file *m, void *v, loff_t *pos)
917static void c_stop(struct seq_file *m, void *v) 917static void c_stop(struct seq_file *m, void *v)
918{ 918{
919} 919}
920struct seq_operations cpuinfo_op = { 920const struct seq_operations cpuinfo_op = {
921 .start = c_start, 921 .start = c_start,
922 .next = c_next, 922 .next = c_next,
923 .stop = c_stop, 923 .stop = c_stop,