From: Larry Finger Date: Wed, 20 Jul 2011 00:16:30 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef HT_IOT_ACTION_E to enum ht_iot_action X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dd8f8ba26223d2b0c28835ae390dcc2c77a8c8fe;p=linux-beck.git staging: rtl8192e: Convert typedef HT_IOT_ACTION_E to enum ht_iot_action Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h index 1e9c49629ef1..e74cb4f2b787 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -419,12 +419,11 @@ enum ht_iot_peer { HT_IOT_PEER_MAX = 11, }; -typedef enum _HT_IOT_PEER_SUBTYPE_E -{ +enum ht_iot_peer_subtype { HT_IOT_PEER_ATHEROS_DIR635 = 0, -} HT_IOT_PEER_SUBTYPE_E, *PHTIOT_PEER_SUBTYPE_E; +}; -typedef enum _HT_IOT_ACTION_E{ +enum ht_iot_action { HT_IOT_ACT_TX_USE_AMSDU_4K = 0x00000001, HT_IOT_ACT_TX_USE_AMSDU_8K = 0x00000002, HT_IOT_ACT_DISABLE_MCS14 = 0x00000004, @@ -457,7 +456,7 @@ typedef enum _HT_IOT_ACTION_E{ HT_IOT_ACT_DISABLE_RX_40MHZ_SHORT_GI = 0x08000000, -} HT_IOT_ACTION_E, *PHT_IOT_ACTION_E; +}; typedef enum _HT_IOT_RAFUNC{ HT_IOT_RAFUNC_DISABLE_ALL = 0x00,