staging: rtl8192e: Convert typedef firmware_init_step_e to enum firmware_init_step
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 18:11:41 +0000 (13:11 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:36:35 +0000 (10:36 -0500)
Remove typedef from enum.
Rename enum.
Rename uses.

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

index 7d20421940892e7f51195aab1ab8b2d3e5854a8d..125d66e19144dfb0ae5d2c9b1004675652d830b0 100644 (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;
 
index 64cc3627d1b0aaae38b5a3a90612e7284ac5beee..52b1f342fdee744295eed5d4de44508d6390eaf5 100644 (file)
 
 #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,