aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/htc.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2011-10-24 12:17:20 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2011-11-11 12:58:54 +0200
commitf2f921950d6a066f6e4a84c52fc69292bc877aa7 (patch)
treec3070fff05846a747bd755bae38d10641ab1df99 /drivers/net/wireless/ath/ath6kl/htc.h
parentath6kl: rename struct htc_credit_state_info to ath6kl_htc_credit_info (diff)
downloadlinux-dev-f2f921950d6a066f6e4a84c52fc69292bc877aa7.tar.xz
linux-dev-f2f921950d6a066f6e4a84c52fc69292bc877aa7.zip
ath6kl: move all credit distribution code to htc.c
As htc is the only user there's no reason to keep it in main.c. No functional changes. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/htc.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/htc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/htc.h b/drivers/net/wireless/ath/ath6kl/htc.h
index 47a588c613a9..c68e834be68e 100644
--- a/drivers/net/wireless/ath/ath6kl/htc.h
+++ b/drivers/net/wireless/ath/ath6kl/htc.h
@@ -570,6 +570,9 @@ int ath6kl_htc_add_rxbuf_multiple(struct htc_target *target,
int ath6kl_htc_rxmsg_pending_handler(struct htc_target *target,
u32 msg_look_ahead, int *n_pkts);
+int ath6kl_setup_credit_dist(void *htc_handle,
+ struct ath6kl_htc_credit_info *cred_info);
+
static inline void set_htc_pkt_info(struct htc_packet *packet, void *context,
u8 *buf, unsigned int len,
enum htc_endpoint_id eid, u16 tag)