diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-26 08:11:29 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-01-26 08:11:32 -0500 |
commit | 5c81cdbeff72e7fc2eb62ee5dc26197e54f9a06c (patch) | |
tree | d679ff35c002333b7653c79244caf730b79d607a /drivers/s390/char | |
parent | 894cdde26b538c77b9943bc72f0570abf6e58e37 (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 'drivers/s390/char')
-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 |
3 files changed, 3 insertions, 3 deletions
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, |