diff options
-rw-r--r-- | arch/s390/crypto/prng.c | 2 | ||||
-rw-r--r-- | arch/s390/kernel/setup.c | 2 | ||||
-rw-r--r-- | drivers/s390/block/dasd_proc.c | 2 | ||||
-rw-r--r-- | drivers/s390/char/tape_proc.c | 2 | ||||
-rw-r--r-- | drivers/s390/char/vmur.c | 2 | ||||
-rw-r--r-- | drivers/s390/char/zcore.c | 2 | ||||
-rw-r--r-- | drivers/s390/cio/blacklist.c | 2 | ||||
-rw-r--r-- | drivers/s390/net/qeth_proc.c | 4 |
8 files changed, 9 insertions, 9 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 | ||
149 | static struct file_operations prng_fops = { | 149 | static 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) | |||
917 | static void c_stop(struct seq_file *m, void *v) | 917 | static void c_stop(struct seq_file *m, void *v) |
918 | { | 918 | { |
919 | } | 919 | } |
920 | struct seq_operations cpuinfo_op = { | 920 | const 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, |
diff --git a/drivers/s390/block/dasd_proc.c b/drivers/s390/block/dasd_proc.c index 0584a7dc5ede..28a86f070048 100644 --- a/drivers/s390/block/dasd_proc.c +++ b/drivers/s390/block/dasd_proc.c | |||
@@ -142,7 +142,7 @@ static void dasd_devices_stop(struct seq_file *m, void *v) | |||
142 | { | 142 | { |
143 | } | 143 | } |
144 | 144 | ||
145 | static struct seq_operations dasd_devices_seq_ops = { | 145 | static const struct seq_operations dasd_devices_seq_ops = { |
146 | .start = dasd_devices_start, | 146 | .start = dasd_devices_start, |
147 | .next = dasd_devices_next, | 147 | .next = dasd_devices_next, |
148 | .stop = dasd_devices_stop, | 148 | .stop = dasd_devices_stop, |
diff --git a/drivers/s390/char/tape_proc.c b/drivers/s390/char/tape_proc.c index cea49f001f89..c9b96d51b28f 100644 --- a/drivers/s390/char/tape_proc.c +++ b/drivers/s390/char/tape_proc.c | |||
@@ -97,7 +97,7 @@ static void tape_proc_stop(struct seq_file *m, void *v) | |||
97 | { | 97 | { |
98 | } | 98 | } |
99 | 99 | ||
100 | static struct seq_operations tape_proc_seq = { | 100 | static const struct seq_operations tape_proc_seq = { |
101 | .start = tape_proc_start, | 101 | .start = tape_proc_start, |
102 | .next = tape_proc_next, | 102 | .next = tape_proc_next, |
103 | .stop = tape_proc_stop, | 103 | .stop = tape_proc_stop, |
diff --git a/drivers/s390/char/vmur.c b/drivers/s390/char/vmur.c index d70a6e65bf14..7689b500a104 100644 --- a/drivers/s390/char/vmur.c +++ b/drivers/s390/char/vmur.c | |||
@@ -759,7 +759,7 @@ static loff_t ur_llseek(struct file *file, loff_t offset, int whence) | |||
759 | return newpos; | 759 | return newpos; |
760 | } | 760 | } |
761 | 761 | ||
762 | static struct file_operations ur_fops = { | 762 | static const struct file_operations ur_fops = { |
763 | .owner = THIS_MODULE, | 763 | .owner = THIS_MODULE, |
764 | .open = ur_open, | 764 | .open = ur_open, |
765 | .release = ur_release, | 765 | .release = ur_release, |
diff --git a/drivers/s390/char/zcore.c b/drivers/s390/char/zcore.c index 7073daf77981..f523501e6e6c 100644 --- a/drivers/s390/char/zcore.c +++ b/drivers/s390/char/zcore.c | |||
@@ -470,7 +470,7 @@ static loff_t zcore_lseek(struct file *file, loff_t offset, int orig) | |||
470 | return rc; | 470 | return rc; |
471 | } | 471 | } |
472 | 472 | ||
473 | static struct file_operations zcore_fops = { | 473 | static const struct file_operations zcore_fops = { |
474 | .owner = THIS_MODULE, | 474 | .owner = THIS_MODULE, |
475 | .llseek = zcore_lseek, | 475 | .llseek = zcore_lseek, |
476 | .read = zcore_read, | 476 | .read = zcore_read, |
diff --git a/drivers/s390/cio/blacklist.c b/drivers/s390/cio/blacklist.c index bd5f16f80bf8..e8597ec92247 100644 --- a/drivers/s390/cio/blacklist.c +++ b/drivers/s390/cio/blacklist.c | |||
@@ -348,7 +348,7 @@ cio_ignore_write(struct file *file, const char __user *user_buf, | |||
348 | return user_len; | 348 | return user_len; |
349 | } | 349 | } |
350 | 350 | ||
351 | static struct seq_operations cio_ignore_proc_seq_ops = { | 351 | static const struct seq_operations cio_ignore_proc_seq_ops = { |
352 | .start = cio_ignore_proc_seq_start, | 352 | .start = cio_ignore_proc_seq_start, |
353 | .stop = cio_ignore_proc_seq_stop, | 353 | .stop = cio_ignore_proc_seq_stop, |
354 | .next = cio_ignore_proc_seq_next, | 354 | .next = cio_ignore_proc_seq_next, |
diff --git a/drivers/s390/net/qeth_proc.c b/drivers/s390/net/qeth_proc.c index f1ff165a5e05..46ecd03a597e 100644 --- a/drivers/s390/net/qeth_proc.c +++ b/drivers/s390/net/qeth_proc.c | |||
@@ -146,7 +146,7 @@ qeth_procfile_seq_show(struct seq_file *s, void *it) | |||
146 | return 0; | 146 | return 0; |
147 | } | 147 | } |
148 | 148 | ||
149 | static struct seq_operations qeth_procfile_seq_ops = { | 149 | static const struct seq_operations qeth_procfile_seq_ops = { |
150 | .start = qeth_procfile_seq_start, | 150 | .start = qeth_procfile_seq_start, |
151 | .stop = qeth_procfile_seq_stop, | 151 | .stop = qeth_procfile_seq_stop, |
152 | .next = qeth_procfile_seq_next, | 152 | .next = qeth_procfile_seq_next, |
@@ -264,7 +264,7 @@ qeth_perf_procfile_seq_show(struct seq_file *s, void *it) | |||
264 | return 0; | 264 | return 0; |
265 | } | 265 | } |
266 | 266 | ||
267 | static struct seq_operations qeth_perf_procfile_seq_ops = { | 267 | static const struct seq_operations qeth_perf_procfile_seq_ops = { |
268 | .start = qeth_procfile_seq_start, | 268 | .start = qeth_procfile_seq_start, |
269 | .stop = qeth_procfile_seq_stop, | 269 | .stop = qeth_procfile_seq_stop, |
270 | .next = qeth_procfile_seq_next, | 270 | .next = qeth_procfile_seq_next, |