From: Larry Finger Date: Wed, 20 Jul 2011 02:07:59 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef RATR_TABLE_MODE_8192S to enum ratr_table_mode_8192s X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d0df281309e40f21f7a9d9633c2dd78f55edd5f4;p=linux-beck.git staging: rtl8192e: Convert typedef RATR_TABLE_MODE_8192S to enum ratr_table_mode_8192s 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 461c150d3a24..63eb5b584376 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -2031,7 +2031,7 @@ struct rate_adaptive { u8 PreRATRState; }; -typedef enum _RATR_TABLE_MODE_8192S{ +enum ratr_table_mode_8192s { RATR_INX_WIRELESS_NGB = 0, RATR_INX_WIRELESS_NG = 1, RATR_INX_WIRELESS_NB = 2, @@ -2041,7 +2041,7 @@ typedef enum _RATR_TABLE_MODE_8192S{ RATR_INX_WIRELESS_B = 6, RATR_INX_WIRELESS_MC = 7, RATR_INX_WIRELESS_A = 8, -} RATR_TABLE_MODE_8192S, *PRATR_TABLE_MODE_8192S; +}; #define NUM_PMKID_CACHE 16 struct rt_pmkid_list {