From: Loic Pefferkorn Date: Wed, 3 Sep 2014 20:23:14 +0000 (+0200) Subject: staging: goldfish: document mutex usage X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2c50741597b60284c4142808429fa94f3e516c23;p=openwrt%2Fstaging%2Fblogic.git staging: goldfish: document mutex usage Coding style: document mutex usage Signed-off-by: Loic Pefferkorn Signed-off-by: Greg Kroah-Hartman --- 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;