From: Larry Finger Date: Tue, 19 Jul 2011 18:09:50 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef cmpk_element_e to enum cmpk_element X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~864^2~14^2~100 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8fa81ed4c99eadf09c112187e9275aacd0ae1836;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: rtl8192e: Convert typedef cmpk_element_e to enum cmpk_element Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/r8192E_cmdpkt.h b/drivers/staging/rtl8192e/r8192E_cmdpkt.h index 97cc7b3be734..b55d075d6cdf 100644 --- a/drivers/staging/rtl8192e/r8192E_cmdpkt.h +++ b/drivers/staging/rtl8192e/r8192E_cmdpkt.h @@ -137,8 +137,7 @@ struct cmpk_tx_rahis { } __packed; -typedef enum _cmpk_element_e -{ +enum cmpk_element { RX_TX_FEEDBACK = 0, RX_INTERRUPT_STATUS = 1, TX_SET_CONFIG = 2, @@ -148,7 +147,7 @@ typedef enum _cmpk_element_e RX_TX_PER_PKT_FEEDBACK = 6, RX_TX_RATE_HISTORY = 7, RX_CMD_ELE_MAX -} cmpk_element_e; +}; extern u32 cmpk_message_handle_rx(struct net_device *dev, struct rtllib_rx_stats * pstats); extern bool cmpk_message_handle_tx(struct net_device *dev, u8* codevirtualaddress, u32 packettype, u32 buffer_len);