]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: expose hif ops for ahb
authorRaja Mani <rmani@qti.qualcomm.com>
Wed, 27 Jan 2016 09:54:33 +0000 (15:24 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 28 Jan 2016 08:47:28 +0000 (10:47 +0200)
commit79aaa30506366ab989b8336ef0ca3cf6f7cc60f8
tree0d61d43e823267bde53af69f0c3fd250b6ac8d3b
parenta805e082ab0f695d69c2e754046507f324526c3e
ath10k: expose hif ops for ahb

Like how pci.c exposes hif ops for the bus specific operation,
expose similar hif ops table for ahb with all required functions
linked to it. Many ath10k_pci_* functions are reused here in hif ops
table. If something is not sharable, new functions are added for ahb
and linked to hif ops table.

Finally, make ath10k_ahb_probe/remove() to perform what is expected
out of it.

Signed-off-by: Raja Mani <rmani@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/ahb.c
drivers/net/wireless/ath/ath10k/ahb.h
drivers/net/wireless/ath/ath10k/hw.h