x86: Make memtype_seq_ops const
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
10f02d1168
commit
d535e4319a
@@ -826,7 +826,7 @@ static int memtype_seq_show(struct seq_file *seq, void *v)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct seq_operations memtype_seq_ops = {
|
static const struct seq_operations memtype_seq_ops = {
|
||||||
.start = memtype_seq_start,
|
.start = memtype_seq_start,
|
||||||
.next = memtype_seq_next,
|
.next = memtype_seq_next,
|
||||||
.stop = memtype_seq_stop,
|
.stop = memtype_seq_stop,
|
||||||
|
Reference in New Issue
Block a user