staging: rtl8192e: Convert typedef firmware_status_e to enum firmware_status
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 22:28:55 +0000 (17:28 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:47:21 +0000 (10:47 -0500)
Remove typedef from enum.
Rename enum.
Rename uses.

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

index 803eff58f391a60088370a57c515db3ac87005a3..c7d4c994a295c5b4cf99859620ef6fa1bb227c9e 100644 (file)
@@ -44,14 +44,14 @@ enum firmware_source {
        FW_SOURCE_HEADER_FILE = 1,
 };
 
-typedef enum _firmware_status_e{
+enum firmware_status {
        FW_STATUS_0_INIT = 0,
        FW_STATUS_1_MOVE_BOOT_CODE = 1,
        FW_STATUS_2_MOVE_MAIN_CODE = 2,
        FW_STATUS_3_TURNON_CPU = 3,
        FW_STATUS_4_MOVE_DATA_CODE = 4,
        FW_STATUS_5_READY = 5,
-} firmware_status_e;
+};
 
 struct fw_seg_container {
        u16     seg_size;
@@ -59,7 +59,7 @@ struct fw_seg_container {
 };
 
 struct rt_firmware {
-       firmware_status_e firmware_status;
+       enum firmware_status firmware_status;
        u16               cmdpacket_frag_thresold;
 #define RTL8190_MAX_FIRMWARE_CODE_SIZE 64000
 #define MAX_FW_INIT_STEP               3