From: Larry Finger Date: Tue, 19 Jul 2011 22:28:55 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef firmware_status_e to enum firmware_status X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d4b8c17703418c376b025bc6d45a58a9429330d6;p=mv-sheeva.git staging: rtl8192e: Convert typedef firmware_status_e to enum firmware_status Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/r8192E_firmware.h b/drivers/staging/rtl8192e/r8192E_firmware.h index 803eff58f39..c7d4c994a29 100644 --- a/drivers/staging/rtl8192e/r8192E_firmware.h +++ b/drivers/staging/rtl8192e/r8192E_firmware.h @@ -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