diff options
author | Thiago Farina <tfransosi@gmail.com> | 2010-01-18 18:57:33 -0500 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2010-01-22 17:59:51 +0100 |
commit | aeb583d08172e038552bdefe0a79a9aa9e2ecd7c (patch) | |
tree | df348e4297162ecb83a98a517de1e3977a5d784c /lib/dma-debug.c | |
parent | f797d9881b62c2ddb1d2e7bd80d87141949c84aa (diff) | |
download | lwn-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.c | 2 |
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, }; |