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 <s894330@hotmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ting-Chih Hsiao 2015-09-21 14:58:09 +08:00 committed by Greg Kroah-Hartman
parent 8e0735c5e0
commit 40220d8062

View File

@ -1692,7 +1692,7 @@ static int mgc_process_config(struct obd_device *obd, u32 len, void *buf)
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,