summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/htc.c
diff options
context:
space:
mode:
authorMichal Kazior2013-07-05 15:15:12 +0200
committerKalle Valo2013-07-30 17:01:17 +0200
commite799bbffdd6e67305b057e3c13c0eed23523bdad (patch)
tree2f2b6dc54c5c781773a31c21d739f41b9376b05b /drivers/net/wireless/ath/ath10k/htc.c
parentath10k: change function to take struct ath10k as arg (diff)
downloadkernel-qcow2-linux-e799bbffdd6e67305b057e3c13c0eed23523bdad.tar.gz
kernel-qcow2-linux-e799bbffdd6e67305b057e3c13c0eed23523bdad.tar.xz
kernel-qcow2-linux-e799bbffdd6e67305b057e3c13c0eed23523bdad.zip
ath10k: rename hif callback
The `set_callbacks` is a more appopriate name for the function. Let's leave `init` for something else. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/htc.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/htc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/htc.c b/drivers/net/wireless/ath/ath10k/htc.c
index 7b5c33445dc0..f37a6e18c0ca 100644
--- a/drivers/net/wireless/ath/ath10k/htc.c
+++ b/drivers/net/wireless/ath/ath10k/htc.c
@@ -987,7 +987,7 @@ struct ath10k_htc *ath10k_htc_create(struct ath10k *ar,
/* Get HIF default pipe for HTC message exchange */
ep = &htc->endpoint[ATH10K_HTC_EP_0];
- ath10k_hif_init(ar, &htc_callbacks);
+ ath10k_hif_set_callbacks(ar, &htc_callbacks);
ath10k_hif_get_default_pipe(ar, &ep->ul_pipe_id, &ep->dl_pipe_id);
init_completion(&htc->ctl_resp);