diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-26 14:11:29 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-01-26 14:11:32 +0100 |
commit | 5c81cdbeff72e7fc2eb62ee5dc26197e54f9a06c (patch) | |
tree | d679ff35c002333b7653c79244caf730b79d607a /arch | |
parent | 894cdde26b538c77b9943bc72f0570abf6e58e37 (diff) | |
download | op-kernel-dev-5c81cdbeff72e7fc2eb62ee5dc26197e54f9a06c.zip op-kernel-dev-5c81cdbeff72e7fc2eb62ee5dc26197e54f9a06c.tar.gz |
[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.c | 2 | ||||
-rw-r--r-- | arch/s390/kernel/setup.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/crypto/prng.c b/arch/s390/crypto/prng.c index 23ed094..0cfefdd 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, return ret; } -static struct file_operations prng_fops = { +static const struct file_operations prng_fops = { .owner = THIS_MODULE, .open = &prng_open, .release = NULL, diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index fcebf64..766c783 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) static void c_stop(struct seq_file *m, void *v) { } -struct seq_operations cpuinfo_op = { +const struct seq_operations cpuinfo_op = { .start = c_start, .next = c_next, .stop = c_stop, |