qcacld-3.0: Pass ol_context to all BMI API's

Remove ol_softc as argument in BMI API's and pass ol_context
as the default argument.

Change-Id: I66b5daed047c7efe9a01cac30d2d0e7427aab2cd
CRs-Fixed: 967765
This commit is contained in:
Komal Seelam
2016-02-24 17:59:09 +05:30
zatwierdzone przez Prakash Dhavali
rodzic d910649caa
commit 5a6e508834
9 zmienionych plików z 185 dodań i 165 usunięć

Wyświetl plik

@@ -42,11 +42,11 @@ CDF_STATUS ol_cds_init(cdf_device_t cdf_dev, void *hif_ctx);
void ol_cds_free(void);
#ifdef HIF_PCI
void bmi_cleanup(struct ol_softc *scn);
void bmi_cleanup(struct ol_context *scn);
CDF_STATUS bmi_done(struct ol_context *ol_ctx);
CDF_STATUS bmi_download_firmware(struct ol_context *ol_ctx);
#else
static inline void bmi_cleanup(struct ol_softc *scn)
static inline void bmi_cleanup(struct ol_context *scn)
{
return;
}