From: Darshana Padmadas Date: Sat, 28 Mar 2015 17:43:53 +0000 (+0530) Subject: Staging: lustre: Add header that declares function lprocfs_lmv_init_vars X-Git-Tag: v4.1-rc1~152^2~138^2~23 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=80e177380b3a9e08a3c74ae0562c020c80ce3c2c;p=karo-tx-linux.git Staging: lustre: Add header that declares function lprocfs_lmv_init_vars 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/lmv/lproc_lmv.c b/drivers/staging/lustre/lustre/lmv/lproc_lmv.c index d5bc0fbdf790..22e5c315faa4 100644 --- a/drivers/staging/lustre/lustre/lmv/lproc_lmv.c +++ b/drivers/staging/lustre/lustre/lmv/lproc_lmv.c @@ -40,6 +40,7 @@ #include #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) {