summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath6kl/hif.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2012-03-07 20:04:00 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2012-03-07 20:04:00 +0200
commit12eb9444a8df7ab4aa5f4c91f8e3049af5d9819b (patch)
treef41b0ec87bfefbec06da96a6679097f1a53c9f36 /drivers/net/wireless/ath/ath6kl/hif.h
parent8c9bb054f866cefd54bf7d551bf69a1ab3ff2089 (diff)
ath6kl: document all spinlocks
Also fixes quite a few checkpatch warnings like this: ath6kl/hif.h:226: CHECK: spinlock_t definition without comment Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/hif.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/hif.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/hif.h b/drivers/net/wireless/ath/ath6kl/hif.h
index 904458ab484b..20ed6b73517b 100644
--- a/drivers/net/wireless/ath/ath6kl/hif.h
+++ b/drivers/net/wireless/ath/ath6kl/hif.h
@@ -223,6 +223,7 @@ struct ath6kl_irq_enable_reg {
} __packed;
struct ath6kl_device {
+ /* protects irq_proc_reg and irq_en_reg below */
spinlock_t lock;
struct ath6kl_irq_proc_registers irq_proc_reg;
struct ath6kl_irq_enable_reg irq_en_reg;