diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-03-25 10:15:26 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-03-26 09:36:46 -0400 |
commit | 048f24f695cb7cf5fd78eaa4aee38ce1c2e2f8c5 (patch) | |
tree | 1fc5bce3d5d41c1b2987c87ec594e06b7e6cb885 | |
parent | 8bd5bca821f3284ebe39ffcfcc6c62b58ab54240 (diff) |
ath6kl: remove void pointer from ath6kl_credit_setup()
Void pointers are bad.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/htc.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/htc.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/htc.c b/drivers/net/wireless/ath/ath6kl/htc.c index 9173d46a8026..f282772d9121 100644 --- a/drivers/net/wireless/ath/ath6kl/htc.c +++ b/drivers/net/wireless/ath/ath6kl/htc.c | |||
@@ -130,7 +130,7 @@ static void ath6kl_credit_init(struct ath6kl_htc_credit_info *cred_info, | |||
130 | } | 130 | } |
131 | 131 | ||
132 | /* initialize and setup credit distribution */ | 132 | /* initialize and setup credit distribution */ |
133 | int ath6kl_credit_setup(void *htc_handle, | 133 | int ath6kl_credit_setup(struct htc_target *htc_target, |
134 | struct ath6kl_htc_credit_info *cred_info) | 134 | struct ath6kl_htc_credit_info *cred_info) |
135 | { | 135 | { |
136 | u16 servicepriority[5]; | 136 | u16 servicepriority[5]; |
@@ -144,7 +144,7 @@ int ath6kl_credit_setup(void *htc_handle, | |||
144 | servicepriority[4] = WMI_DATA_BK_SVC; /* lowest */ | 144 | servicepriority[4] = WMI_DATA_BK_SVC; /* lowest */ |
145 | 145 | ||
146 | /* set priority list */ | 146 | /* set priority list */ |
147 | ath6kl_htc_set_credit_dist(htc_handle, cred_info, servicepriority, 5); | 147 | ath6kl_htc_set_credit_dist(htc_target, cred_info, servicepriority, 5); |
148 | 148 | ||
149 | return 0; | 149 | return 0; |
150 | } | 150 | } |
diff --git a/drivers/net/wireless/ath/ath6kl/htc.h b/drivers/net/wireless/ath/ath6kl/htc.h index e97ebc33aad1..0ba8deb2f096 100644 --- a/drivers/net/wireless/ath/ath6kl/htc.h +++ b/drivers/net/wireless/ath/ath6kl/htc.h | |||
@@ -594,7 +594,7 @@ int ath6kl_htc_add_rxbuf_multiple(struct htc_target *target, | |||
594 | int ath6kl_htc_rxmsg_pending_handler(struct htc_target *target, | 594 | int ath6kl_htc_rxmsg_pending_handler(struct htc_target *target, |
595 | u32 msg_look_ahead, int *n_pkts); | 595 | u32 msg_look_ahead, int *n_pkts); |
596 | 596 | ||
597 | int ath6kl_credit_setup(void *htc_handle, | 597 | int ath6kl_credit_setup(struct htc_target *htc_target, |
598 | struct ath6kl_htc_credit_info *cred_info); | 598 | struct ath6kl_htc_credit_info *cred_info); |
599 | 599 | ||
600 | static inline void set_htc_pkt_info(struct htc_packet *packet, void *context, | 600 | static inline void set_htc_pkt_info(struct htc_packet *packet, void *context, |