mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
staging: wilc1000 remove typedef from the union
This patch gets rid of typedef from the union and renames tuniHostIFmsgBody with simply message_body because the Linux coding style does not recommend camelcase notation and typedef for structure, enmu and also union. Signed-off-by: Tony Cho <tony.cho@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a9f812a6d8
commit
dfc7663ba2
1 changed files with 4 additions and 4 deletions
|
@ -407,7 +407,7 @@ typedef struct {
|
|||
} tstrHostIfStaInactiveT;
|
||||
/**/
|
||||
/*!
|
||||
* @union tuniHostIFmsgBody
|
||||
* @union message_body
|
||||
* @brief Message body for the Host Interface message_q
|
||||
* @details
|
||||
* @todo
|
||||
|
@ -416,7 +416,7 @@ typedef struct {
|
|||
* @date 25 March 2012
|
||||
* @version 1.0
|
||||
*/
|
||||
typedef union _tuniHostIFmsgBody {
|
||||
union message_body {
|
||||
tstrHostIFscanAttr strHostIFscanAttr; /*!< Host IF Scan Request Attributes message body */
|
||||
tstrHostIFconnectAttr strHostIFconnectAttr; /*!< Host IF Connect Request Attributes message body */
|
||||
tstrRcvdNetworkInfo strRcvdNetworkInfo; /*!< Received Asynchronous Network Info message body */
|
||||
|
@ -445,7 +445,7 @@ typedef union _tuniHostIFmsgBody {
|
|||
tstrHostIfRegisterFrame strHostIfRegisterFrame;
|
||||
char *pUserData;
|
||||
tstrHostIFDelAllSta strHostIFDelAllSta;
|
||||
} tuniHostIFmsgBody;
|
||||
};
|
||||
|
||||
/*!
|
||||
* @struct struct host_if_msg
|
||||
|
@ -459,7 +459,7 @@ typedef union _tuniHostIFmsgBody {
|
|||
*/
|
||||
struct host_if_msg {
|
||||
u16 id; /*!< Message ID */
|
||||
tuniHostIFmsgBody uniHostIFmsgBody; /*!< Message body */
|
||||
union message_body uniHostIFmsgBody; /*!< Message body */
|
||||
tstrWILC_WFIDrv *drvHandler;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue