Staging: lustre: Add header that declares function lprocfs_lmv_init_vars
authorDarshana Padmadas <darshanapadmadas@gmail.com>
Sat, 28 Mar 2015 17:43:53 +0000 (23:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Apr 2015 15:33:56 +0000 (17:33 +0200)
This patch includes the header file lmv_internal.h that declares
the function lprocfs_lmv_init_vars defined in lproc_lmv.c.

This eliminates the sparse warning:
warning: symbol 'lprocfs_lmv_init_vars' was not declared. Should it be static?

Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lmv/lproc_lmv.c

index d5bc0fbdf7900757fdb307f1c2d4e1b8d49a6b27..22e5c315faa42de69bf3cea27bc11c3546c7c262 100644 (file)
@@ -40,6 +40,7 @@
 #include <linux/statfs.h>
 #include "../include/lprocfs_status.h"
 #include "../include/obd_class.h"
+#include "lmv_internal.h"
 
 static int lmv_numobd_seq_show(struct seq_file *m, void *v)
 {