Skip to content

Commit

Permalink
[AVR32] constify function pointer tables
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
  • Loading branch information
Jan Engelhardt authored and Haavard Skinnemoen committed Jan 25, 2008
1 parent 0062572 commit f6135d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/avr32/kernel/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion arch/avr32/mm/tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f6135d1

Please sign in to comment.