diff options
author | Loic Pefferkorn <loic@loicp.eu> | 2014-09-03 22:23:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-06 21:54:57 -0700 |
commit | 2c50741597b60284c4142808429fa94f3e516c23 (patch) | |
tree | 454d557f2194fe4e41e2a891abf2677d65138048 /drivers/staging/goldfish/goldfish_nand.c | |
parent | 8f52e264e80e500a24f565d3cb4dc37ec6d1b289 (diff) | |
download | linux-2c50741597b60284c4142808429fa94f3e516c23.tar.bz2 |
staging: goldfish: document mutex usage
Coding style: document mutex usage
Signed-off-by: Loic Pefferkorn <loic@loicp.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/goldfish/goldfish_nand.c')
-rw-r--r-- | drivers/staging/goldfish/goldfish_nand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/goldfish/goldfish_nand.c b/drivers/staging/goldfish/goldfish_nand.c index 3f13ef042918..c6c85d3a31e7 100644 --- a/drivers/staging/goldfish/goldfish_nand.c +++ b/drivers/staging/goldfish/goldfish_nand.c @@ -31,6 +31,7 @@ #include "goldfish_nand_reg.h" struct goldfish_nand { + /* lock protects access to the device registers */ struct mutex lock; unsigned char __iomem *base; struct cmd_params *cmd_params; |