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>
This commit is contained in:
Loic Pefferkorn 2014-09-03 22:23:14 +02:00 committed by Greg Kroah-Hartman
parent 8f52e264e8
commit 2c50741597
1 changed files with 1 additions and 0 deletions

View File

@ -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;