qcacld-3.0: Replace hdd_adapter_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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.
Change-Id: I48952b52777b523d5b383ea4278b8390a4bc4a8e
CRs-Fixed: 2101054
diff --git a/core/hdd/src/wlan_hdd_ftm.c b/core/hdd/src/wlan_hdd_ftm.c
index 408a078..9e76f0e 100644
--- a/core/hdd/src/wlan_hdd_ftm.c
+++ b/core/hdd/src/wlan_hdd_ftm.c
@@ -176,7 +176,7 @@
*
* Return: 0 on success, non-zero on error
*/
-static int wlan_hdd_qcmbr_command(hdd_adapter_t *adapter,
+static int wlan_hdd_qcmbr_command(struct hdd_adapter *adapter,
struct qcmbr_data *pqcmbr_data)
{
int ret = 0;
@@ -236,7 +236,7 @@
*
* Return: 0 on success, non-zero on error
*/
-static int wlan_hdd_qcmbr_compat_ioctl(hdd_adapter_t *adapter,
+static int wlan_hdd_qcmbr_compat_ioctl(struct hdd_adapter *adapter,
struct ifreq *ifr)
{
struct qcmbr_data *qcmbr_data;
@@ -262,7 +262,7 @@
return ret;
}
#else /* CONFIG_COMPAT */
-static int wlan_hdd_qcmbr_compat_ioctl(hdd_adapter_t *adapter,
+static int wlan_hdd_qcmbr_compat_ioctl(struct hdd_adapter *adapter,
struct ifreq *ifr)
{
return 0;
@@ -276,7 +276,7 @@
*
* Return: 0 on success, non-zero on error
*/
-static int wlan_hdd_qcmbr_ioctl(hdd_adapter_t *adapter, struct ifreq *ifr)
+static int wlan_hdd_qcmbr_ioctl(struct hdd_adapter *adapter, struct ifreq *ifr)
{
struct qcmbr_data *qcmbr_data;
int ret = 0;
@@ -308,7 +308,7 @@
*
* Return: 0 on success, non-zero on error
*/
-int wlan_hdd_qcmbr_unified_ioctl(hdd_adapter_t *adapter, struct ifreq *ifr)
+int wlan_hdd_qcmbr_unified_ioctl(struct hdd_adapter *adapter, struct ifreq *ifr)
{
int ret = 0;