aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/wil6210/wil6210.h
diff options
context:
space:
mode:
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>2014-12-23 02:47:14 -0500
committerKalle Valo <kvalo@codeaurora.org>2015-01-15 07:31:30 -0500
commit9419b6a206860b1063492aca7cee20cfcb546406 (patch)
tree61e05a9116625c9e756a808ef9548737de82189c /drivers/net/wireless/ath/wil6210/wil6210.h
parent327755fb8c6b5d653af621729afeb20fb8528fd7 (diff)
wil6210: use bitmap API for "status"
wil->status used as bitmap; use DECLARE_BITMAP for it. Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/wil6210.h')
-rw-r--r--drivers/net/wireless/ath/wil6210/wil6210.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wil6210/wil6210.h b/drivers/net/wireless/ath/wil6210/wil6210.h
index 81309dc3e5a1..64a6d49a3001 100644
--- a/drivers/net/wireless/ath/wil6210/wil6210.h
+++ b/drivers/net/wireless/ath/wil6210/wil6210.h
@@ -341,6 +341,7 @@ enum { /* for wil6210_priv.status */
341 wil_status_reset_done, 341 wil_status_reset_done,
342 wil_status_irqen, /* FIXME: interrupts enabled - for debug */ 342 wil_status_irqen, /* FIXME: interrupts enabled - for debug */
343 wil_status_napi_en, /* NAPI enabled protected by wil->mutex */ 343 wil_status_napi_en, /* NAPI enabled protected by wil->mutex */
344 wil_status_last /* keep last */
344}; 345};
345 346
346struct pci_dev; 347struct pci_dev;
@@ -448,7 +449,7 @@ struct wil6210_priv {
448 int n_msi; 449 int n_msi;
449 struct wireless_dev *wdev; 450 struct wireless_dev *wdev;
450 void __iomem *csr; 451 void __iomem *csr;
451 ulong status; 452 DECLARE_BITMAP(status, wil_status_last);
452 u32 fw_version; 453 u32 fw_version;
453 u32 hw_version; 454 u32 hw_version;
454 struct wil_board *board; 455 struct wil_board *board;