summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath6kl/hif-ops.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2011-11-11 10:17:33 (GMT)
committerKalle Valo <kvalo@qca.qualcomm.com>2011-11-13 10:34:29 (GMT)
commit66b693c3b84876d33afd35b9d717d8b9d07384c8 (patch)
treeef47e8bba54045d903dbe28d81eb30f78e127330 /drivers/net/wireless/ath/ath6kl/hif-ops.h
parentbd24a50fe66ef1f64a84a3d02e0f464bb394bb9b (diff)
downloadlinux-66b693c3b84876d33afd35b9d717d8b9d07384c8.tar.xz
ath6kl: move bmi calls to hif driver
In preparation for USB support which has it's own method for bmi. Based on code by Kevin Fang. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/hif-ops.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/hif-ops.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/hif-ops.h b/drivers/net/wireless/ath/ath6kl/hif-ops.h
index eed2287..0c4c602 100644
--- a/drivers/net/wireless/ath/ath6kl/hif-ops.h
+++ b/drivers/net/wireless/ath/ath6kl/hif-ops.h
@@ -91,6 +91,16 @@ static inline int ath6kl_hif_suspend(struct ath6kl *ar,
return ar->hif_ops->suspend(ar, wow);
}
+static inline int ath6kl_hif_bmi_read(struct ath6kl *ar, u8 *buf, u32 len)
+{
+ return ar->hif_ops->bmi_read(ar, buf, len);
+}
+
+static inline int ath6kl_hif_bmi_write(struct ath6kl *ar, u8 *buf, u32 len)
+{
+ return ar->hif_ops->bmi_write(ar, buf, len);
+}
+
static inline int ath6kl_hif_resume(struct ath6kl *ar)
{
ath6kl_dbg(ATH6KL_DBG_HIF, "hif resume\n");