Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef country_code_type_t to enum countr…
Browse files Browse the repository at this point in the history
…y_code_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent d45c88a commit 569e595
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/rtl8192e/rtllib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 569e595

Please sign in to comment.