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:
Houston Hoffman 2017-01-27 12:51:15 -08:00 • committed by qcabuildsw
commit 403c2df426

View file

@ -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,