diff --git a/core/hdd/inc/wlan_hdd_ftm.h b/core/hdd/inc/wlan_hdd_ftm.h index 132cd3096a51..f52f84982403 100644 --- a/core/hdd/inc/wlan_hdd_ftm.h +++ b/core/hdd/inc/wlan_hdd_ftm.h @@ -41,7 +41,9 @@ #include "qdf_types.h" #include -int hdd_update_cds_config_ftm(hdd_context_t *hdd_ctx); +struct hdd_context; + +int hdd_update_cds_config_ftm(struct hdd_context *hdd_ctx); void hdd_ftm_mc_process_msg(void *message); #if defined(QCA_WIFI_FTM) QDF_STATUS wlan_hdd_ftm_testmode_cmd(void *data, int len); diff --git a/core/hdd/src/wlan_hdd_ftm.c b/core/hdd/src/wlan_hdd_ftm.c index 98ee0e7eeb59..408a078ec254 100644 --- a/core/hdd/src/wlan_hdd_ftm.c +++ b/core/hdd/src/wlan_hdd_ftm.c @@ -117,7 +117,7 @@ static uint32_t wlan_ftm_postmsg(uint8_t *cmd_ptr, uint16_t cmd_len) * Return: 0 on success; errno on failure */ -int hdd_update_cds_config_ftm(hdd_context_t *hdd_ctx) +int hdd_update_cds_config_ftm(struct hdd_context *hdd_ctx) { struct cds_config_info *cds_cfg;