qcacld-3.0: Fix -Wmissing-prototypes in BMI
We want to enable the compiler's -Wmissing-prototypes switch, but there is existing code that is generating warnings. Fix all warnings in BMI. Change-Id: I701a9620ad93b41b5bcfd79d0c048f62e8151a18 CRs-Fixed: 1075533
Este cometimento está contido em:
@@ -333,7 +333,7 @@ QDF_STATUS bmi_write_soc_register(uint32_t address, uint32_t param,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
static QDF_STATUS
|
||||
bmilz_data(uint8_t *buffer, uint32_t length, struct ol_context *ol_ctx)
|
||||
{
|
||||
uint32_t cid;
|
||||
@@ -455,7 +455,7 @@ QDF_STATUS bmi_sign_stream_start(uint32_t address, uint8_t *buffer,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
static QDF_STATUS
|
||||
bmilz_stream_start(uint32_t address, struct ol_context *ol_ctx)
|
||||
{
|
||||
uint32_t cid;
|
||||
|
@@ -848,8 +848,8 @@ ol_check_dataset_patch(struct hif_opaque_softc *scn, uint32_t *address)
|
||||
}
|
||||
|
||||
|
||||
QDF_STATUS ol_fw_populate_clk_settings(A_refclk_speed_t refclk,
|
||||
struct cmnos_clock_s *clock_s)
|
||||
static QDF_STATUS ol_fw_populate_clk_settings(A_refclk_speed_t refclk,
|
||||
struct cmnos_clock_s *clock_s)
|
||||
{
|
||||
if (!clock_s)
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
@@ -913,7 +913,7 @@ QDF_STATUS ol_fw_populate_clk_settings(A_refclk_speed_t refclk,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS ol_patch_pll_switch(struct ol_context *ol_ctx)
|
||||
static QDF_STATUS ol_patch_pll_switch(struct ol_context *ol_ctx)
|
||||
{
|
||||
struct hif_opaque_softc *hif = ol_ctx->scn;
|
||||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
@@ -1207,7 +1207,7 @@ end:
|
||||
/* AXI Start Address */
|
||||
#define TARGET_ADDR (0xa0000)
|
||||
|
||||
void ol_transfer_codeswap_struct(struct ol_context *ol_ctx)
|
||||
static void ol_transfer_codeswap_struct(struct ol_context *ol_ctx)
|
||||
{
|
||||
struct pld_codeswap_codeseg_info wlan_codeswap;
|
||||
QDF_STATUS rv;
|
||||
@@ -1411,8 +1411,8 @@ QDF_STATUS ol_download_firmware(struct ol_context *ol_ctx)
|
||||
return status;
|
||||
}
|
||||
|
||||
int ol_diag_read(struct hif_opaque_softc *scn, uint8_t *buffer,
|
||||
uint32_t pos, size_t count)
|
||||
static int ol_diag_read(struct hif_opaque_softc *scn, uint8_t *buffer,
|
||||
uint32_t pos, size_t count)
|
||||
{
|
||||
int result = 0;
|
||||
|
||||
@@ -1549,6 +1549,7 @@ out:
|
||||
return result;
|
||||
}
|
||||
|
||||
static
|
||||
void ol_dump_target_memory(struct hif_opaque_softc *scn, void *memory_block)
|
||||
{
|
||||
char *buffer_loc = memory_block;
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador