From: Fabian Frederick Date: Mon, 30 Jun 2014 18:31:26 +0000 (+0200) Subject: staging/lustre/obdclass: use static const for seq_operations X-Git-Tag: v3.17-rc1~123^2~1143 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=fd6f578822fdc2ecd74f4f51550c1144a3c9c613;p=cascardo%2Flinux.git staging/lustre/obdclass: use static const for seq_operations lprocfs_stats_seq_sops is only used in static int lprocfs_stats_seq_open with seq_open as const struct seq_operations * Cc: Greg Kroah-Hartman Cc: Peng Tao Cc: devel@driverdev.osuosl.org Signed-off-by: Fabian Frederick Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/obdclass/lprocfs_status.c b/drivers/staging/lustre/lustre/obdclass/lprocfs_status.c index 1432dd74fe95..b0a12c4a24b8 100644 --- a/drivers/staging/lustre/lustre/obdclass/lprocfs_status.c +++ b/drivers/staging/lustre/lustre/obdclass/lprocfs_status.c @@ -1196,7 +1196,7 @@ out: return (rc < 0) ? rc : 0; } -struct seq_operations lprocfs_stats_seq_sops = { +static const struct seq_operations lprocfs_stats_seq_sops = { .start = lprocfs_stats_seq_start, .stop = lprocfs_stats_seq_stop, .next = lprocfs_stats_seq_next,