summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath6kl/hif-ops.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2011-07-22 09:26:20 +0400
committerKalle Valo <kvalo@qca.qualcomm.com>2011-08-31 11:10:54 +0400
commitabcb344b3b823c8c9eac6e13e45a53eaf1d5d00b (patch)
tree7748263227daccbb7f3d4de01a9102218ddee1b7 /drivers/net/wireless/ath/ath6kl/hif-ops.h
parent1df94a8578eb099d9362cc0b84ef85015c47bbc5 (diff)
downloadlinux-abcb344b3b823c8c9eac6e13e45a53eaf1d5d00b.tar.xz
ath6kl: implement suspend support
For now this is implemented so that if host supports power is kept in the chip. If that's not supported, an error is returned and sdio stack will remove the device during suspend. 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/hif-ops.h b/drivers/net/wireless/ath/ath6kl/hif-ops.h
index c923979776a0..d6c898f3d0b3 100644
--- a/drivers/net/wireless/ath/ath6kl/hif-ops.h
+++ b/drivers/net/wireless/ath/ath6kl/hif-ops.h
@@ -69,4 +69,9 @@ static inline void ath6kl_hif_cleanup_scatter(struct ath6kl *ar)
return ar->hif_ops->cleanup_scatter(ar);
}
+static inline int ath6kl_hif_suspend(struct ath6kl *ar)
+{
+ return ar->hif_ops->suspend(ar);
+}
+
#endif