]> err.no Git - linux-2.6/commitdiff
[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 14610019216e609ce7fc935dd6366b7613b0720c..b8409caeb23dccbca394127132bcdcc9e0360eab 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 56672018e42f2e25c62240556693842e45ee3cc0..b835257a8fa39d88d794ad2667ef9f46a4e6028c 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,