Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ath6kl: remove void pointer from ath6kl_credit_setup()

Void pointers are bad.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>

+3 -3
+2 -2
drivers/net/wireless/ath/ath6kl/htc.c
··· 130 130 } 131 131 132 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 134 struct ath6kl_htc_credit_info *cred_info) 135 135 { 136 136 u16 servicepriority[5]; ··· 144 144 servicepriority[4] = WMI_DATA_BK_SVC; /* lowest */ 145 145 146 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 149 return 0; 150 150 }
+1 -1
drivers/net/wireless/ath/ath6kl/htc.h
··· 594 594 int ath6kl_htc_rxmsg_pending_handler(struct htc_target *target, 595 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 598 struct ath6kl_htc_credit_info *cred_info); 599 599 600 600 static inline void set_htc_pkt_info(struct htc_packet *packet, void *context,