提交 f6135d12 编写于 作者: J Jan Engelhardt 提交者: Haavard Skinnemoen

[AVR32] constify function pointer tables

Signed-off-by: NJan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
上级 00625723
...@@ -385,7 +385,7 @@ static void c_stop(struct seq_file *m, void *v) ...@@ -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, .start = c_start,
.next = c_next, .next = c_next,
.stop = c_stop, .stop = c_stop,
......
...@@ -348,7 +348,7 @@ static int tlb_show(struct seq_file *tlb, void *v) ...@@ -348,7 +348,7 @@ static int tlb_show(struct seq_file *tlb, void *v)
return 0; return 0;
} }
static struct seq_operations tlb_ops = { static const struct seq_operations tlb_ops = {
.start = tlb_start, .start = tlb_start,
.next = tlb_next, .next = tlb_next,
.stop = tlb_stop, .stop = tlb_stop,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册