net: seq_operations should be const
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / net / key / af_key.c
index dba9abd27f90d42cb240c08d6a08e7529a5e6797..7b1e99b5b4d27eee3863be4ec0e889f315b0ac62 100644 (file)
@@ -3705,7 +3705,7 @@ static void pfkey_seq_stop(struct seq_file *f, void *v)
        read_unlock(&pfkey_table_lock);
 }
 
-static struct seq_operations pfkey_seq_ops = {
+static const struct seq_operations pfkey_seq_ops = {
        .start  = pfkey_seq_start,
        .next   = pfkey_seq_next,
        .stop   = pfkey_seq_stop,