[tip:x86/urgent] lib/dma-debug.c: mark file-local struct symbol static.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  aeb583d08172e038552bdefe0a79a9aa9e2ecd7c
Gitweb:     http://git.kernel.org/tip/aeb583d08172e038552bdefe0a79a9aa9e2ecd7c
Author:     Thiago Farina <tfransosi@xxxxxxxxx>
AuthorDate: Mon, 18 Jan 2010 18:57:33 -0500
Committer:  Joerg Roedel <joerg.roedel@xxxxxxx>
CommitDate: Fri, 22 Jan 2010 17:59:51 +0100

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@xxxxxxxxx>
Signed-off-by: Joerg Roedel <joerg.roedel@xxxxxxx>
---
 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 7399744..e039958 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,
 };
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux