diff --git a/drivers/md/md.c b/drivers/md/md.c
index 5eb01a4d27ba53e14e2601f297dca45ff56fab2a..8350bde60d1bdea8e44bba10b0e524e8e60efc7b 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -5976,7 +5976,7 @@ static int md_seq_show(struct seq_file *seq, void *v)
 	return 0;
 }
 
-static struct seq_operations md_seq_ops = {
+static const struct seq_operations md_seq_ops = {
 	.start  = md_seq_start,
 	.next   = md_seq_next,
 	.stop   = md_seq_stop,