aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2008-01-22 14:41:37 -0500
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2008-01-25 02:31:43 -0500
commitf6135d12db4bed3b992052020f1c50d749cd8dc6 (patch)
treeef309fcd6354aee15710b8c4d9a569ce397da97a
parent00625723428c23748668ca225e199a2c674c63f7 (diff)
[AVR32] constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
-rw-r--r--arch/avr32/kernel/cpu.c2
-rw-r--r--arch/avr32/mm/tlb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/avr32/kernel/cpu.c b/arch/avr32/kernel/cpu.c
index 14610019216e..b8409caeb23d 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)
385 385
386} 386}
387 387
388struct seq_operations cpuinfo_op = { 388const struct seq_operations cpuinfo_op = {
389 .start = c_start, 389 .start = c_start,
390 .next = c_next, 390 .next = c_next,
391 .stop = c_stop, 391 .stop = c_stop,
diff --git a/arch/avr32/mm/tlb.c b/arch/avr32/mm/tlb.c
index 56672018e42f..b835257a8fa3 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)
348 return 0; 348 return 0;
349} 349}
350 350
351static struct seq_operations tlb_ops = { 351static const struct seq_operations tlb_ops = {
352 .start = tlb_start, 352 .start = tlb_start,
353 .next = tlb_next, 353 .next = tlb_next,
354 .stop = tlb_stop, 354 .stop = tlb_stop,