[PATCH 121/166] staging: rtl8192e: Convert typedef RT_RF_TYPE_819xU to enum rt_rf_type_819xu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
---
 drivers/staging/rtl8192e/rtl_core.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h
index 4d6857c..8a71d2d 100644
--- a/drivers/staging/rtl8192e/rtl_core.h
+++ b/drivers/staging/rtl8192e/rtl_core.h
@@ -267,14 +267,14 @@ enum dcmg_txcmd_op {
 	TXCMD_XXXX_CTRL,
 };
 
-typedef enum _RT_RF_TYPE_819xU{
+enum rt_rf_type_819xu {
         RF_TYPE_MIN = 0,
         RF_8225,
         RF_8256,
         RF_8258,
         RF_6052=4,
         RF_PSEUDO_11N = 5,
-} RT_RF_TYPE_819xU, *PRT_RF_TYPE_819xU;
+};
 
 typedef enum _RF_STEP_E
 {
@@ -587,7 +587,7 @@ struct r8192_priv {
 	RT_CUSTOMER_ID			CustomerID;
 
 
-	RT_RF_TYPE_819xU		rf_chip;
+	enum rt_rf_type_819xu rf_chip;
 	IC_INFERIORITY_8192S		IC_Class;
 	enum ht_channel_width CurrentChannelBW;
 	struct bb_reg_definition PHYRegDef[4];
-- 
1.7.3.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux