]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
lib/dma-debug.c: mark file-local struct symbol static.
authorThiago Farina <tfransosi@gmail.com>
Mon, 18 Jan 2010 23:57:33 +0000 (18:57 -0500)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 22 Jan 2010 16:59:51 +0000 (17:59 +0100)
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>
lib/dma-debug.c

index 739974460c32109cf2b7eb53c207f2db79be37e3..e03995851e60d60163a3b5cf89e310ac7e85b6a1 100644 (file)
@@ -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,
 };