[NET]: Make all initialized struct seq_operations const.
[GitHub/exynos8895/android_kernel_samsung_universal8895.git] / net / unix / af_unix.c
index d70fa30d4294383f4cbdc45feec8a1df90f65a2b..3654b647ac79dd0de7c88f8d88aae657269f68b6 100644 (file)
@@ -2048,7 +2048,7 @@ static int unix_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations unix_seq_ops = {
+static const struct seq_operations unix_seq_ops = {
        .start  = unix_seq_start,
        .next   = unix_seq_next,
        .stop   = unix_seq_stop,