From: Tony Cho Date: Mon, 21 Sep 2015 03:16:55 +0000 (+0900) Subject: staging: wilc1000: remove typedef from the struct tstrHostIfGetMacAddress X-Git-Tag: firefly_0821_release~176^2~802^2~1839 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fcd27c5f658b905bbd0abf55c7304a9cc4a3e90e;p=firefly-linux-kernel-4.4.55.git staging: wilc1000: remove typedef from the struct tstrHostIfGetMacAddress This patch removes typedef from the struct tstrHostIfGetMacAddress and renames it get_mac_addr in order to comply with the Linux coding style. Signed-off-by: Tony Cho Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index c1fc145cbdea..7c5b49c165ef 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -435,7 +435,7 @@ union message_body { struct set_multicast strHostIfSetMulti; struct op_mode strHostIfSetOperationMode; struct set_mac_addr strHostIfSetMacAddress; - tstrHostIfGetMacAddress strHostIfGetMacAddress; + struct get_mac_addr strHostIfGetMacAddress; tstrHostIfBASessionInfo strHostIfBASessionInfo; tstrHostIfRemainOnChan strHostIfRemainOnChan; tstrHostIfRegisterFrame strHostIfRegisterFrame; @@ -889,7 +889,8 @@ static s32 Handle_SetMacAddress(tstrWILC_WFIDrv *drvHandler, * @date JAN 2013 * @version 8.0 */ -static s32 Handle_GetMacAddress(tstrWILC_WFIDrv *drvHandler, tstrHostIfGetMacAddress *pstrHostIfGetMacAddress) +static s32 Handle_GetMacAddress(tstrWILC_WFIDrv *drvHandler, + struct get_mac_addr *pstrHostIfGetMacAddress) { s32 s32Error = 0; diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h index fc7c521f46ee..c8b482fa3c2c 100644 --- a/drivers/staging/wilc1000/host_interface.h +++ b/drivers/staging/wilc1000/host_interface.h @@ -267,9 +267,9 @@ struct set_mac_addr { u8 u8MacAddress[ETH_ALEN]; }; -typedef struct { +struct get_mac_addr { u8 *u8MacAddress; -} tstrHostIfGetMacAddress; +}; typedef struct { u8 au8Bssid[ETH_ALEN];