From: Dzmitry Sledneu Date: Sat, 18 Apr 2015 13:20:43 +0000 (+0200) Subject: staging: lustre: Make struct mdc_kuc_fops static X-Git-Tag: firefly_0821_release~176^2~1545^2~1008 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3b2f5202c52a842a6528a72e85b46435c1d59116;p=firefly-linux-kernel-4.4.55.git staging: lustre: Make struct mdc_kuc_fops static This patch fixes the following Sparse warning: "symbol 'mdc_kuc_fops' was not declared. Should it be static?". Signed-off-by: Dzmitry Sledneu 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 acfe08e459c0..b41e50ea6ed8 100644 --- a/drivers/staging/lustre/lustre/mdc/lproc_mdc.c +++ b/drivers/staging/lustre/lustre/mdc/lproc_mdc.c @@ -147,7 +147,7 @@ static ssize_t mdc_kuc_write(struct file *file, return count; } -struct file_operations mdc_kuc_fops = { +static struct file_operations mdc_kuc_fops = { .open = mdc_kuc_open, .write = mdc_kuc_write, .release = single_release,