[PATCH 1/8] block: Sparse fix.

Marek Belisko marek.belisko at open-nandra.com
Thu Oct 13 16:23:07 EDT 2011


Signed-off-by: Marek Belisko <marek.belisko at open-nandra.com>
---
 common/block.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/block.c b/common/block.c
index 24377c6..ac4f2b2 100644
--- a/common/block.c
+++ b/common/block.c
@@ -221,7 +221,7 @@ static int block_flush(struct cdev *cdev)
 	return writebuffer_flush(blk);
 }
 
-struct file_operations block_ops = {
+static struct file_operations block_ops = {
 	.read	= block_read,
 #ifdef CONFIG_BLOCK_WRITE
 	.write	= block_write,
-- 
1.7.4.1




More information about the barebox mailing list