summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/coreconfigurator.h
diff options
context:
space:
mode:
authorLeo Kim2015-10-12 09:55:41 +0200
committerGreg Kroah-Hartman2015-10-13 05:58:01 +0200
commite9e0c260996f7ef1e5aa050a687d0e8086749478 (patch)
treea6faa8c566a1eaa5fb461ccc5b7ff50f6f29cafa /drivers/staging/wilc1000/coreconfigurator.h
parentstaging: wilc1000: change parameter names in send_config_pkt (diff)
downloadkernel-qcow2-linux-e9e0c260996f7ef1e5aa050a687d0e8086749478.tar.gz
kernel-qcow2-linux-e9e0c260996f7ef1e5aa050a687d0e8086749478.tar.xz
kernel-qcow2-linux-e9e0c260996f7ef1e5aa050a687d0e8086749478.zip
staging: wilc1000: remove typedef from tstrWID
This patch removes typedef from the struct tstrWID and rename it to wid. Signed-off-by: Leo Kim <leo.kim@atmel.com> Signed-off-by: Tony Cho <tony.cho@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/coreconfigurator.h')
-rw-r--r--drivers/staging/wilc1000/coreconfigurator.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h
index 8ba30dcdb381..306efc999daf 100644
--- a/drivers/staging/wilc1000/coreconfigurator.h
+++ b/drivers/staging/wilc1000/coreconfigurator.h
@@ -70,13 +70,12 @@ typedef enum {
CONNECT_STS_FORCE_16_BIT = 0xFFFF
} tenuConnectSts;
-typedef struct {
+struct wid {
u16 u16WIDid;
tenuWIDtype enuWIDtype;
s32 s32ValueSize;
s8 *ps8WidVal;
-
-} tstrWID;
+};
typedef struct {
u8 u8Full;
@@ -128,7 +127,7 @@ typedef struct {
size_t ie_len;
} tstrDisconnectNotifInfo;
-s32 send_config_pkt(u8 mode, tstrWID *wids, u32 count, u32 drv);
+s32 send_config_pkt(u8 mode, struct wid *wids, u32 count, u32 drv);
s32 parse_network_info(u8 *pu8MsgBuffer, tstrNetworkInfo **ppstrNetworkInfo);
s32 DeallocateNetworkInfo(tstrNetworkInfo *pstrNetworkInfo);