summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2011-07-19 12:54:24 -0500
committerLarry Finger <Larry.Finger@lwfinger.net>2011-08-24 10:31:21 -0500
commit70f9f79c481d41f9a18b29aff9859534d6868d4c (patch)
tree70db339c634b7ffa58420fce40622a1531126926 /drivers/staging/rtl8192e
parentd3b2c172518dceed0d1d68f5b90dde5a2f6a438d (diff)
downloadtalos-obmc-linux-70f9f79c481d41f9a18b29aff9859534d6868d4c.tar.gz
talos-obmc-linux-70f9f79c481d41f9a18b29aff9859534d6868d4c.zip
staging: rtl8192e: Convert typedef rtl819x_loopback_e to enum rtl819x_loopback
Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r--drivers/staging/rtl8192e/r8190P_def.h4
-rw-r--r--drivers/staging/rtl8192e/rtl_core.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/r8190P_def.h b/drivers/staging/rtl8192e/r8190P_def.h
index a1b49674d96c..87d91e2cf2b3 100644
--- a/drivers/staging/rtl8192e/r8190P_def.h
+++ b/drivers/staging/rtl8192e/r8190P_def.h
@@ -29,12 +29,12 @@
#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
diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h
index 16fbb933c76f..31279a95ac8c 100644
--- a/drivers/staging/rtl8192e/rtl_core.h
+++ b/drivers/staging/rtl8192e/rtl_core.h
@@ -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;
OpenPOWER on IntegriCloud