staging: rtl8192e: Convert typedef RT_RF_TYPE_819xU to enum rt_rf_type_819xu
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 20 Jul 2011 00:37:46 +0000 (19:37 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:52:32 +0000 (10:52 -0500)
Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtl_core.h

index 4d6857cce21ebbf1f0122a8615a25478c691756c..8a71d2dadb82f40e0496f955883e98a71acb49de 100644 (file)
@@ -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];