staging: rtl8192e: Convert typedef country_code_type_t to enum country_code_type
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 20 Jul 2011 02:03:26 +0000 (21:03 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:53:07 +0000 (10:53 -0500)
Remove typedef from enum.
Rename enum.
Rename uses.

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

index 5afe7dee46cb82c871227e979c8dd82ab054223d..69909cd6eb2a8b1d30d7ba148ab0552121b97acd 100644 (file)
@@ -1917,8 +1917,7 @@ typedef u32 RT_RF_CHANGE_SOURCE;
 #define RF_CHANGE_BY_IPS BIT28
 #define RF_CHANGE_BY_INIT      0
 
-typedef enum _country_code_type_t
-{
+enum country_code_type {
        COUNTRY_CODE_FCC = 0,
        COUNTRY_CODE_IC = 1,
        COUNTRY_CODE_ETSI = 2,
@@ -1933,7 +1932,7 @@ typedef enum _country_code_type_t
        COUNTRY_CODE_WORLD_WIDE_13 = 11,
        COUNTRY_CODE_TELEC_NETGEAR = 12,
        COUNTRY_CODE_MAX
-} country_code_type_t;
+};
 
 typedef enum _SCAN_OPERATION_BACKUP_OPT{
        SCAN_OPT_BACKUP=0,