Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef RT_RF_TYPE_819xU to enum rt_rf_typ…
Browse files Browse the repository at this point in the history
…e_819xu

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent aec1148 commit fc6094f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/rtl8192e/rtl_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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];
Expand Down

0 comments on commit fc6094f

Please sign in to comment.