Commit 7a5fe3f8 authored by Michal Kazior's avatar Michal Kazior Committed by Kalle Valo

ath10k: change function to take struct ath10k as arg

This aligns it to the argument list of other
similar functions.
Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent ed48b356
...@@ -2058,9 +2058,9 @@ static int ath10k_pci_reset_target(struct ath10k *ar) ...@@ -2058,9 +2058,9 @@ static int ath10k_pci_reset_target(struct ath10k *ar)
return 0; return 0;
} }
static void ath10k_pci_device_reset(struct ath10k_pci *ar_pci) static void ath10k_pci_device_reset(struct ath10k *ar)
{ {
struct ath10k *ar = ar_pci->ar; struct ath10k_pci *ar_pci = ath10k_pci_priv(ar);
void __iomem *mem = ar_pci->mem; void __iomem *mem = ar_pci->mem;
int i; int i;
u32 val; u32 val;
...@@ -2255,7 +2255,7 @@ static int ath10k_pci_probe(struct pci_dev *pdev, ...@@ -2255,7 +2255,7 @@ static int ath10k_pci_probe(struct pci_dev *pdev,
* is in an unexpected state. We try to catch that here in order to * is in an unexpected state. We try to catch that here in order to
* reset the Target and retry the probe. * reset the Target and retry the probe.
*/ */
ath10k_pci_device_reset(ar_pci); ath10k_pci_device_reset(ar);
ret = ath10k_pci_reset_target(ar); ret = ath10k_pci_reset_target(ar);
if (ret) if (ret)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment