[AVR32] constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
This commit is contained in:
committed by
Haavard Skinnemoen
parent
0062572342
commit
f6135d12db
@@ -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)
|
|||||||
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,
|
||||||
|
Reference in New Issue
Block a user