Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef RT_RF_TYPE_DEF to enum rt_rf_type_def
Browse files Browse the repository at this point in the history
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 4fd7ced commit e608063
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/rtl8192e/rtllib.h
Original file line number Diff line number Diff line change
Expand Up @@ -637,15 +637,14 @@ enum led_ctl_mode {
LED_CTL_STOP_WPS_FAIL_OVERLAP = 13,
};

typedef enum _RT_RF_TYPE_DEF
{
enum rt_rf_type_def {
RF_1T2R = 0,
RF_2T4R,
RF_2T2R,
RF_1T1R,
RF_2T2R_GREEN,
RF_819X_MAX_TYPE
} RT_RF_TYPE_DEF;
};

typedef enum _WIRELESS_MODE {
WIRELESS_MODE_UNKNOWN = 0x00,
Expand Down

0 comments on commit e608063

Please sign in to comment.