projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: Make memtype_seq_ops const
[firefly-linux-kernel-4.4.55.git]
/
arch
/
x86
/
mm
/
pat.c
diff --git
a/arch/x86/mm/pat.c
b/arch/x86/mm/pat.c
index e6718bb280650b0a7e7500cb8d6dcda5a29c67b0..e2900a36de0e1b0bdab4d60b8216677a9324fd49 100644
(file)
--- a/
arch/x86/mm/pat.c
+++ b/
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,