staging: wilc1000: remove typedef from the struct tstrHostIfSetOperationMode

This patch removes typedef from the struct tstrHostIfSetOperationMode
and renames it to op_mode in order to comply with the Linux coding
style.

Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tony Cho
2015-09-20 23:00:27 -07:00
committed by Greg Kroah-Hartman
parent 641210ac1b
commit 801bee52a1
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -433,7 +433,7 @@ union message_body {
struct set_ip_addr strHostIfSetIP;
struct drv_handler strHostIfSetDrvHandler;
struct set_multicast strHostIfSetMulti;
tstrHostIfSetOperationMode strHostIfSetOperationMode;
struct op_mode strHostIfSetOperationMode;
tstrHostIfSetMacAddress strHostIfSetMacAddress;
tstrHostIfGetMacAddress strHostIfGetMacAddress;
tstrHostIfBASessionInfo strHostIfBASessionInfo;
@@ -708,7 +708,8 @@ static s32 Handle_SetWfiDrvHandler(tstrWILC_WFIDrv *drvHandler,
* @date
* @version 1.0
*/
static s32 Handle_SetOperationMode(tstrWILC_WFIDrv *drvHandler, tstrHostIfSetOperationMode *pstrHostIfSetOperationMode)
static s32 Handle_SetOperationMode(tstrWILC_WFIDrv *drvHandler,
struct op_mode *pstrHostIfSetOperationMode)
{
s32 s32Error = 0;
+2 -2
View File
@@ -259,9 +259,9 @@ struct drv_handler {
u32 u32Address;
};
typedef struct {
struct op_mode {
u32 u32Mode;
} tstrHostIfSetOperationMode;
};
typedef struct {
u8 u8MacAddress[ETH_ALEN];