Commit 9659e7f5 authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef firmware_source_e to enum firmware_source

Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent 8ce50cf3
...@@ -39,10 +39,10 @@ enum desc_packet_type { ...@@ -39,10 +39,10 @@ enum desc_packet_type {
DESC_PACKET_TYPE_NORMAL = 1, DESC_PACKET_TYPE_NORMAL = 1,
}; };
typedef enum _firmware_source_e{ enum firmware_source {
FW_SOURCE_IMG_FILE = 0, FW_SOURCE_IMG_FILE = 0,
FW_SOURCE_HEADER_FILE = 1, FW_SOURCE_HEADER_FILE = 1,
} firmware_source_e, *pfirmware_source_e; };
typedef enum _firmware_status_e{ typedef enum _firmware_status_e{
FW_STATUS_0_INIT = 0, FW_STATUS_0_INIT = 0,
......
...@@ -602,7 +602,7 @@ struct r8192_priv { ...@@ -602,7 +602,7 @@ struct r8192_priv {
struct rt_firmware *pFirmware; struct rt_firmware *pFirmware;
enum rtl819x_loopback LoopbackMode; enum rtl819x_loopback LoopbackMode;
firmware_source_e firmware_source; enum firmware_source firmware_source;
struct timer_list watch_dog_timer; struct timer_list watch_dog_timer;
struct timer_list fsync_timer; struct timer_list fsync_timer;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment