Skip to content

Commit f6135d1

Browse files
Jan EngelhardtHaavard Skinnemoen
authored andcommitted
[AVR32] constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
1 parent 0062572 commit f6135d1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/avr32/kernel/cpu.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ static void c_stop(struct seq_file *m, void *v)
385385

386386
}
387387

388-
struct seq_operations cpuinfo_op = {
388+
const struct seq_operations cpuinfo_op = {
389389
.start = c_start,
390390
.next = c_next,
391391
.stop = c_stop,

‎arch/avr32/mm/tlb.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ static int tlb_show(struct seq_file *tlb, void *v)
348348
return 0;
349349
}
350350

351-
static struct seq_operations tlb_ops = {
351+
static const struct seq_operations tlb_ops = {
352352
.start = tlb_start,
353353
.next = tlb_next,
354354
.stop = tlb_stop,

0 commit comments

Comments
 (0)