From: Darshana Padmadas Date: Sat, 28 Mar 2015 17:43:55 +0000 (+0530) Subject: Staging: lustre: Include header file that declares lprocfs_mdc_init_vars X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=171aee168e4fe04502e2e065750dcbe0b2e0ffa9;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Staging: lustre: Include header file that declares lprocfs_mdc_init_vars This patch includes the header file mdc_internal.h that declares the function lprocfs_mdc_init_vars. This also eliminates the sparse warning: warning: symbol 'lprocfs_mdc_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/mdc/lproc_mdc.c b/drivers/staging/lustre/lustre/mdc/lproc_mdc.c index a4fb29496850..acfe08e459c0 100644 --- a/drivers/staging/lustre/lustre/mdc/lproc_mdc.c +++ b/drivers/staging/lustre/lustre/mdc/lproc_mdc.c @@ -38,6 +38,7 @@ #include #include "../include/obd_class.h" #include "../include/lprocfs_status.h" +#include "mdc_internal.h" static int mdc_max_rpcs_in_flight_seq_show(struct seq_file *m, void *v) {