From: Thiago Farina Date: Mon, 18 Jan 2010 23:57:33 +0000 (-0500) Subject: lib/dma-debug.c: mark file-local struct symbol static. X-Git-Tag: firefly_0821_release~9833^2~3272^2~4^2^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=aeb583d08172e038552bdefe0a79a9aa9e2ecd7c;p=firefly-linux-kernel-4.4.55.git lib/dma-debug.c: mark file-local struct symbol static. warning: symbol 'filter_fops' was not declared. Should it be static? Signed-off-by: Thiago Farina Signed-off-by: Joerg Roedel --- diff --git a/lib/dma-debug.c b/lib/dma-debug.c index 739974460c32..e03995851e60 100644 --- a/lib/dma-debug.c +++ b/lib/dma-debug.c @@ -587,7 +587,7 @@ out_unlock: return count; } -const struct file_operations filter_fops = { +static const struct file_operations filter_fops = { .read = filter_read, .write = filter_write, };