From: Larry Finger Date: Wed, 20 Jul 2011 02:03:26 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef country_code_type_t to enum country_code_type X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=569e59595541ee4721eed7a5cb6c13a4ef525bea;p=mv-sheeva.git staging: rtl8192e: Convert typedef country_code_type_t to enum country_code_type Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 5afe7dee46c..69909cd6eb2 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -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,