lkml.org 
[lkml]   [2014]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 5/6] staging: goldfish: document mutex usage
Date
Coding style: document mutex usage

Signed-off-by: Loic Pefferkorn <loic@loicp.eu>
---
drivers/staging/goldfish/goldfish_nand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/goldfish/goldfish_nand.c b/drivers/staging/goldfish/goldfish_nand.c
index 3f13ef0..f177911 100644
--- a/drivers/staging/goldfish/goldfish_nand.c
+++ b/drivers/staging/goldfish/goldfish_nand.c
@@ -31,7 +31,7 @@
#include "goldfish_nand_reg.h"

struct goldfish_nand {
- struct mutex lock;
+ struct mutex lock; /* Serialize device operations */
unsigned char __iomem *base;
struct cmd_params *cmd_params;
size_t mtd_count;
--
2.0.4


\
 
 \ /
  Last update: 2014-09-03 14:01    [W:0.083 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site