mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
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:
parent
1977533a3f
commit
9b61f085eb
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue