qcacld-3.0: Replace hdd_context_t in wlan_hdd_ftm.[ch]

The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ie13624b984a39da923511c1c75a5b51ab29eca18
CRs-Fixed: 2100197
This commit is contained in:
Jeff Johnson 2017-08-28 12:01:18 -07:00 • committed by snandini
commit 2b59af6a75
2 changed files with 4 additions and 2 deletions

View file

@ -41,7 +41,9 @@
#include "qdf_types.h"
#include <wlan_ptt_sock_svc.h>
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);

View file

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