staging: lustre-mgc: make mgc_obd_ops static
authorTing-Chih Hsiao <s894330@hotmail.com>
Mon, 21 Sep 2015 06:58:09 +0000 (14:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 16:56:50 +0000 (09:56 -0700)
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>
drivers/staging/lustre/lustre/mgc/mgc_request.c

index 9e36642b6ad2e4bbc532582541a3deccb05b2399..3e9cca0263060e0cebc74fb51e61987c4b09d56c 100644 (file)
@@ -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,