[AVR32] constify function pointer tables
authorJan Engelhardt <jengelh@computergmbh.de>
Tue, 22 Jan 2008 19:41:37 +0000 (20:41 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 25 Jan 2008 07:31:43 +0000 (08:31 +0100)
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/kernel/cpu.c
arch/avr32/mm/tlb.c

index 1461001..b8409ca 100644 (file)
@@ -385,7 +385,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,
index 5667201..b835257 100644 (file)
@@ -348,7 +348,7 @@ static int tlb_show(struct seq_file *tlb, void *v)
        return 0;
 }
 
-static struct seq_operations tlb_ops = {
+static const struct seq_operations tlb_ops = {
        .start          = tlb_start,
        .next           = tlb_next,
        .stop           = tlb_stop,