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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=40220d8062ce5b333c0124388f7709c84c142074;p=openwrt%2Fstaging%2Fblogic.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,