From: Ting-Chih Hsiao Date: Mon, 21 Sep 2015 06:58:09 +0000 (+0800) Subject: staging: lustre-mgc: make mgc_obd_ops static X-Git-Tag: firefly_0821_release~176^2~802^2~1828 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=40220d8062ce5b333c0124388f7709c84c142074;p=firefly-linux-kernel-4.4.55.git staging: lustre-mgc: make mgc_obd_ops static Fix sparse warnings of the following type: warning: symbol '....' was not declared. Should it be static? Signed-off-by: Ting-Chih Hsiao Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/mgc/mgc_request.c b/drivers/staging/lustre/lustre/mgc/mgc_request.c index 9e36642b6ad2..3e9cca026306 100644 --- a/drivers/staging/lustre/lustre/mgc/mgc_request.c +++ b/drivers/staging/lustre/lustre/mgc/mgc_request.c @@ -1692,7 +1692,7 @@ out: return rc; } -struct obd_ops mgc_obd_ops = { +static struct obd_ops mgc_obd_ops = { .o_owner = THIS_MODULE, .o_setup = mgc_setup, .o_precleanup = mgc_precleanup,