summaryrefslogtreecommitdiff
path: root/lib/dma-debug.c
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/dma-debug.c
parentf797d9881b62c2ddb1d2e7bd80d87141949c84aa (diff)
downloadlwn-aeb583d08172e038552bdefe0a79a9aa9e2ecd7c.tar.gz
lwn-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/dma-debug.c')
-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,
};