Commit 70f9f79c authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef rtl819x_loopback_e to enum rtl819x_loopback

Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent d3b2c172
...@@ -29,12 +29,12 @@ ...@@ -29,12 +29,12 @@
#define RX_CMD_QUEUE 1 #define RX_CMD_QUEUE 1
typedef enum _rtl819x_loopback_e{ enum rtl819x_loopback {
RTL819X_NO_LOOPBACK = 0, RTL819X_NO_LOOPBACK = 0,
RTL819X_MAC_LOOPBACK = 1, RTL819X_MAC_LOOPBACK = 1,
RTL819X_DMA_LOOPBACK = 2, RTL819X_DMA_LOOPBACK = 2,
RTL819X_CCK_LOOPBACK = 3, RTL819X_CCK_LOOPBACK = 3,
} rtl819x_loopback_e; };
#define RESET_DELAY_8185 20 #define RESET_DELAY_8185 20
......
...@@ -601,7 +601,7 @@ struct r8192_priv { ...@@ -601,7 +601,7 @@ struct r8192_priv {
ACM_METHOD AcmMethod; ACM_METHOD AcmMethod;
struct rt_firmware *pFirmware; struct rt_firmware *pFirmware;
rtl819x_loopback_e LoopbackMode; enum rtl819x_loopback LoopbackMode;
firmware_source_e firmware_source; firmware_source_e firmware_source;
struct timer_list watch_dog_timer; struct timer_list watch_dog_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