From d4b8c17703418c376b025bc6d45a58a9429330d6 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Tue, 19 Jul 2011 17:28:55 -0500 Subject: [PATCH] staging: rtl8192e: Convert typedef firmware_status_e to enum firmware_status Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- drivers/staging/rtl8192e/r8192E_firmware.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5