qcacmn: Make hif_opaque_softc as global HIF context

Make hif_opaque_softc as global HIF Context and cleanup
ol_softc structure to bmi structure. No one else is using ol_softc
numbers.

Change-Id: Ib6447d2b67d41a30ec22903720900d7e4d55c7a9
CRs-Fixed: 967765
This commit is contained in:
Komal Seelam
2016-02-24 19:22:48 +05:30
committed by Gerrit - the friendly Code Review server
parent a5911d3ca2
commit 5584a7cf92
18 changed files with 240 additions and 227 deletions

View File

@@ -153,7 +153,7 @@ enum ol_ath_htc_pkt_ecodes {
};
/* our HTC target state */
typedef struct _HTC_TARGET {
struct ol_softc *hif_dev;
struct hif_opaque_softc *hif_dev;
HTC_ENDPOINT endpoint[ENDPOINT_MAX];
cdf_spinlock_t HTCLock;
cdf_spinlock_t HTCRxLock;