]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS]: constify function pointer tables
authorJan Engelhardt <jengelh@computergmbh.de>
Tue, 22 Jan 2008 19:42:33 +0000 (20:42 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Jan 2008 10:15:03 +0000 (10:15 +0000)
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/basler/excite/excite_iodev.c
arch/mips/kernel/proc.c

index 6af0b21ebc3291a4d8afb9f863f45b9d87d763b7..476d20e08d0e4ceb2251b745ad3e81620f77589e 100644 (file)
@@ -48,7 +48,7 @@ static DECLARE_WAIT_QUEUE_HEAD(wq);
 
 
 
-static struct file_operations fops =
+static const struct file_operations fops =
 {
        .owner          = THIS_MODULE,
        .open           = iodev_open,
index 34dd22838fdb57677271053ebfa905b5ffa7b40f..36f06539824304db22bc8f67a97e2b6034470026 100644 (file)
@@ -90,7 +90,7 @@ 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,