Преглед изворни кода

x86: Make memtype_seq_ops const

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Tobias Klauser пре 15 година
родитељ
комит
d535e4319a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      arch/x86/mm/pat.c

+ 1 - 1
arch/x86/mm/pat.c

@@ -826,7 +826,7 @@ static int memtype_seq_show(struct seq_file *seq, void *v)
 	return 0;
 }
 
-static struct seq_operations memtype_seq_ops = {
+static const struct seq_operations memtype_seq_ops = {
 	.start = memtype_seq_start,
 	.next  = memtype_seq_next,
 	.stop  = memtype_seq_stop,