mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
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:
parent
8e0735c5e0
commit
40220d8062
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user