From dd8f8ba26223d2b0c28835ae390dcc2c77a8c8fe Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Tue, 19 Jul 2011 19:16:30 -0500 Subject: [PATCH] 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 --- drivers/staging/rtl8192e/rtl819x_HT.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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, -- 2.30.2