staging: goldfish: document spinlock usage

Coding style: document spinlock 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:12 +02:00 committed by Greg Kroah-Hartman
parent 1977533a3f
commit 9b61f085eb

View file

@ -36,6 +36,7 @@ MODULE_VERSION("1.0");
struct goldfish_audio {
char __iomem *reg_base;
int irq;
/* lock protects access to buffer_status and to device registers */
spinlock_t lock;
wait_queue_head_t wait;