staging: rtl8192e: Convert typedef rtl819x_loopback_e to enum rtl819x_loopback
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 17:54:24 +0000 (12:54 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:31:21 +0000 (10:31 -0500)
Remove typedef from enum.
Rename enum.
Rename uses.

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

index a1b49674d96c8572a508db89a9d048c036e0795e..87d91e2cf2b31f1eb636c3e9feeab582e4d9c1b7 100644 (file)
 #define RX_CMD_QUEUE                           1
 
 
-typedef enum _rtl819x_loopback_e{
+enum rtl819x_loopback {
        RTL819X_NO_LOOPBACK = 0,
        RTL819X_MAC_LOOPBACK = 1,
        RTL819X_DMA_LOOPBACK = 2,
        RTL819X_CCK_LOOPBACK = 3,
-} rtl819x_loopback_e;
+};
 
 
 #define RESET_DELAY_8185                       20
index 16fbb933c76fc6fa77c0077425701e513d80acac..31279a95ac8c2aa316492140ef21a76a45ba12ad 100644 (file)
@@ -601,7 +601,7 @@ struct r8192_priv {
        ACM_METHOD                              AcmMethod;
 
        struct rt_firmware                      *pFirmware;
-       rtl819x_loopback_e                      LoopbackMode;
+       enum rtl819x_loopback LoopbackMode;
        firmware_source_e                       firmware_source;
 
        struct timer_list                       watch_dog_timer;