mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacmn: Fix wmissing errors in shadow_register code
hif_prepare_hal_shadow_register_cfg and hif_print_hal_shadow_register_cfg needed to be declared static after enabling "Werror=missing-prototypes" Change-Id: I3682436edb7bcb3ee02f1c4037aefc82863c0ec5 CRs-Fixed: 1113131
This commit is contained in:
parent
10fedfc050
commit
403c2df426
1 changed files with 2 additions and 2 deletions
|
|
@ -657,7 +657,7 @@ static struct ce_ops *ce_services_attach(struct hif_softc *scn)
|
|||
}
|
||||
#endif /* QCA_LITHIUM */
|
||||
|
||||
void hif_prepare_hal_shadow_register_cfg(struct hif_softc *scn,
|
||||
static void hif_prepare_hal_shadow_register_cfg(struct hif_softc *scn,
|
||||
struct pld_shadow_reg_v2_cfg **shadow_config,
|
||||
int *num_shadow_registers_configured) {
|
||||
struct HIF_CE_state *hif_state = HIF_GET_CE_STATE(scn);
|
||||
|
|
@ -2011,7 +2011,7 @@ void hif_get_target_ce_config(struct hif_softc *scn,
|
|||
}
|
||||
|
||||
|
||||
void hif_print_hal_shadow_register_cfg(struct pld_wlan_enable_cfg *cfg)
|
||||
static void hif_print_hal_shadow_register_cfg(struct pld_wlan_enable_cfg *cfg)
|
||||
{
|
||||
int i;
|
||||
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
|
||||
|
|
|
|||
Loading…
Reference in a new issue