]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Convert typedef RT_RF_TYPE_DEF to enum rt_rf_type_def
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 20 Jul 2011 01:48:58 +0000 (20:48 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:52:57 +0000 (10:52 -0500)
Remove typedef from enum.
Rename enum.
Rename uses.

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

index 9966be22a9e83c9317dbb9979a4d888d6a11cefb..71bf821bad59cde452d3649e69e4a50e246810c6 100644 (file)
@@ -637,15 +637,14 @@ enum led_ctl_mode {
         LED_CTL_STOP_WPS_FAIL_OVERLAP = 13,
 };
 
-typedef enum _RT_RF_TYPE_DEF
-{
+enum rt_rf_type_def {
        RF_1T2R = 0,
        RF_2T4R,
        RF_2T2R,
        RF_1T1R,
        RF_2T2R_GREEN,
        RF_819X_MAX_TYPE
-} RT_RF_TYPE_DEF;
+};
 
 typedef enum _WIRELESS_MODE {
        WIRELESS_MODE_UNKNOWN = 0x00,