summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThiago Farina <tfransosi@gmail.com>2010-01-18 18:57:33 -0500
committerJoerg Roedel <joerg.roedel@amd.com>2010-01-22 17:59:51 +0100
commitaeb583d08172e038552bdefe0a79a9aa9e2ecd7c (patch)
treedf348e4297162ecb83a98a517de1e3977a5d784c /lib
parentf797d9881b62c2ddb1d2e7bd80d87141949c84aa (diff)
downloadlinux-rpi3-aeb583d08172e038552bdefe0a79a9aa9e2ecd7c.tar.gz
linux-rpi3-aeb583d08172e038552bdefe0a79a9aa9e2ecd7c.tar.bz2
linux-rpi3-aeb583d08172e038552bdefe0a79a9aa9e2ecd7c.zip
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 <tfransosi@gmail.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/dma-debug.c2
1 files changed, 1 insertions, 1 deletions
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,
};