diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-18 23:02:01 -0500 |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-24 01:31:41 -0500 |
commit | fb6209640b94087672aa42b5e5806ea0c5525339 (patch) | |
tree | d275160f25de5e75bf5978b27a3ac2ba9d1180fb | |
parent | a76d98497eb5b8f2ad723cfcaa58d6f7653243af (diff) | |
download | op-kernel-dev-fb6209640b94087672aa42b5e5806ea0c5525339.zip op-kernel-dev-fb6209640b94087672aa42b5e5806ea0c5525339.tar.gz |
staging: rtl8192e: Convert typedef cmpk_set_cfg_t to struct cmpk_set_cfg
Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
-rw-r--r-- | drivers/staging/rtl8192e/r8192E_cmdpkt.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/staging/rtl8192e/r8192E_cmdpkt.h b/drivers/staging/rtl8192e/r8192E_cmdpkt.h index 9e92d7b..07c69f2 100644 --- a/drivers/staging/rtl8192e/r8192E_cmdpkt.h +++ b/drivers/staging/rtl8192e/r8192E_cmdpkt.h @@ -19,8 +19,8 @@ #ifndef R819XUSB_CMDPKT_H #define R819XUSB_CMDPKT_H #define CMPK_RX_TX_FB_SIZE sizeof(struct cmpk_txfb) -#define CMPK_TX_SET_CONFIG_SIZE sizeof(cmpk_set_cfg_t) -#define CMPK_BOTH_QUERY_CONFIG_SIZE sizeof(cmpk_set_cfg_t) +#define CMPK_TX_SET_CONFIG_SIZE sizeof(struct cmpk_set_cfg) +#define CMPK_BOTH_QUERY_CONFIG_SIZE sizeof(struct cmpk_set_cfg) #define CMPK_RX_TX_STS_SIZE sizeof(cmpk_tx_status_t) #define CMPK_RX_DBG_MSG_SIZE sizeof(cmpk_rx_dbginfo_t) #define CMPK_TX_RAHIS_SIZE sizeof(cmpk_tx_rahis_t) @@ -65,8 +65,7 @@ struct cmpk_intr_sta { };//; -typedef struct tag_cmd_pkt_set_configuration -{ +struct cmpk_set_cfg { u8 element_id; u8 length; u16 reserve1; @@ -80,9 +79,9 @@ typedef struct tag_cmd_pkt_set_configuration u8 cfg_offset; u32 value; u32 mask; -}cmpk_set_cfg_t; +};//; -#define cmpk_query_cfg_t cmpk_set_cfg_t +#define cmpk_query_cfg_t struct cmpk_set_cfg typedef struct tag_tx_stats_feedback { |