From: Jan Engelhardt Date: Tue, 22 Jan 2008 19:41:37 +0000 (+0100) Subject: [AVR32] constify function pointer tables X-Git-Tag: v2.6.25-rc1~1240^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6135d12db4bed3b992052020f1c50d749cd8dc6;p=platform%2Fkernel%2Flinux-3.10.git [AVR32] constify function pointer tables Signed-off-by: Jan Engelhardt Signed-off-by: Haavard Skinnemoen --- diff --git a/arch/avr32/kernel/cpu.c b/arch/avr32/kernel/cpu.c index 1461001..b8409ca 100644 --- a/arch/avr32/kernel/cpu.c +++ b/arch/avr32/kernel/cpu.c @@ -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, diff --git a/arch/avr32/mm/tlb.c b/arch/avr32/mm/tlb.c index 5667201..b835257 100644 --- a/arch/avr32/mm/tlb.c +++ b/arch/avr32/mm/tlb.c @@ -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,