staging: rtl8192e: Convert typedef firmware_init_step_e to enum firmware_init_step

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2011-07-19 13:11:41 -05:00
parent 8fa81ed4c9
commit cec0769542
2 changed files with 3 additions and 3 deletions

View File

@ -267,7 +267,7 @@ bool init_firmware(struct net_device *dev)
u8 *mapped_file = NULL;
u8 init_step = 0;
opt_rst_type_e rst_opt = OPT_SYSTEM_RESET;
firmware_init_step_e starting_state = FW_INIT_STEP0_BOOT;
enum firmware_init_step starting_state = FW_INIT_STEP0_BOOT;
struct rt_firmware *pfirmware = priv->pFirmware;

View File

@ -23,11 +23,11 @@
#define GET_COMMAND_PACKET_FRAG_THRESHOLD(v) (4*(v/4) - 8 )
typedef enum _firmware_init_step_e{
enum firmware_init_step {
FW_INIT_STEP0_BOOT = 0,
FW_INIT_STEP1_MAIN = 1,
FW_INIT_STEP2_DATA = 2,
} firmware_init_step_e;
};
typedef enum _opt_rst_type_e{
OPT_SYSTEM_RESET = 0,