From: Larry Finger Date: Wed, 20 Jul 2011 00:37:46 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef RT_RF_TYPE_819xU to enum rt_rf_type_819xu X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=fc6094f6703d16591dda4d2849b17c1751dbb099;p=deliverable%2Flinux.git staging: rtl8192e: Convert typedef RT_RF_TYPE_819xU to enum rt_rf_type_819xu Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h index 4d6857cce21e..8a71d2dadb82 100644 --- a/drivers/staging/rtl8192e/rtl_core.h +++ b/drivers/staging/rtl8192e/rtl_core.h @@ -267,14 +267,14 @@ enum dcmg_txcmd_op { TXCMD_XXXX_CTRL, }; -typedef enum _RT_RF_TYPE_819xU{ +enum rt_rf_type_819xu { RF_TYPE_MIN = 0, RF_8225, RF_8256, RF_8258, RF_6052=4, RF_PSEUDO_11N = 5, -} RT_RF_TYPE_819xU, *PRT_RF_TYPE_819xU; +}; typedef enum _RF_STEP_E { @@ -587,7 +587,7 @@ struct r8192_priv { RT_CUSTOMER_ID CustomerID; - RT_RF_TYPE_819xU rf_chip; + enum rt_rf_type_819xu rf_chip; IC_INFERIORITY_8192S IC_Class; enum ht_channel_width CurrentChannelBW; struct bb_reg_definition PHYRegDef[4];