diff options
| author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-22 14:42:33 -0500 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 05:15:03 -0500 |
| commit | 12323cacca2014dcf517d1988fcdb8e44a1f497b (patch) | |
| tree | e6b6ac1c130cbba6d37c3b5a3959341c8c302de5 /arch/mips | |
| parent | d4e9cffa161da806cb4bc9df4a4e49d287156bfa (diff) | |
[MIPS]: constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
| -rw-r--r-- | arch/mips/basler/excite/excite_iodev.c | 2 | ||||
| -rw-r--r-- | arch/mips/kernel/proc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/basler/excite/excite_iodev.c b/arch/mips/basler/excite/excite_iodev.c index 6af0b21ebc32..476d20e08d0e 100644 --- a/arch/mips/basler/excite/excite_iodev.c +++ b/arch/mips/basler/excite/excite_iodev.c | |||
| @@ -48,7 +48,7 @@ static DECLARE_WAIT_QUEUE_HEAD(wq); | |||
| 48 | 48 | ||
| 49 | 49 | ||
| 50 | 50 | ||
| 51 | static struct file_operations fops = | 51 | static const struct file_operations fops = |
| 52 | { | 52 | { |
| 53 | .owner = THIS_MODULE, | 53 | .owner = THIS_MODULE, |
| 54 | .open = iodev_open, | 54 | .open = iodev_open, |
diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c index 34dd22838fdb..36f065398243 100644 --- a/arch/mips/kernel/proc.c +++ b/arch/mips/kernel/proc.c | |||
| @@ -90,7 +90,7 @@ static void c_stop(struct seq_file *m, void *v) | |||
| 90 | { | 90 | { |
| 91 | } | 91 | } |
| 92 | 92 | ||
| 93 | struct seq_operations cpuinfo_op = { | 93 | const struct seq_operations cpuinfo_op = { |
| 94 | .start = c_start, | 94 | .start = c_start, |
| 95 | .next = c_next, | 95 | .next = c_next, |
| 96 | .stop = c_stop, | 96 | .stop = c_stop, |
