[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:
Родитель
0062572342
Коммит
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,
|
||||
.next = c_next,
|
||||
.stop = c_stop,
|
||||
|
|
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче