From: Larry Finger Date: Tue, 19 Jul 2011 04:36:26 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef DRxPathSel to struct drx_path_sel X-Git-Tag: next-20110826~5^2~92^2~111 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8e8b90c60be8963a312118f435314a47f64160f2;p=karo-tx-linux.git staging: rtl8192e: Convert typedef DRxPathSel to struct drx_path_sel Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl_dm.c index 74868b84f044..160df4ad7442 100644 --- a/drivers/staging/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl_dm.c @@ -66,7 +66,7 @@ static u32 edca_setting_UL[HT_IOT_PEER_MAX] = /*------------------------Define global variable-----------------------------*/ dig_t dm_digtable; u8 dm_shadow[16][256] = {{0}}; -DRxPathSel DM_RxPathSelTable; +struct drx_path_sel DM_RxPathSelTable; /*------------------------Define global variable-----------------------------*/ diff --git a/drivers/staging/rtl8192e/rtl_dm.h b/drivers/staging/rtl8192e/rtl_dm.h index 6f59097873c1..b2aad3ca6b2c 100644 --- a/drivers/staging/rtl8192e/rtl_dm.h +++ b/drivers/staging/rtl8192e/rtl_dm.h @@ -219,8 +219,7 @@ typedef enum tag_dig_cck_cs_ratio_state_definition DIG_CS_RATIO_HIGHER = 1, DIG_CS_MAX }dm_dig_cs_ratio_e; -typedef struct _Dynamic_Rx_Path_Selection_ -{ +struct drx_path_sel { u8 Enable; u8 DbgMode; u8 cck_method; @@ -234,7 +233,7 @@ typedef struct _Dynamic_Rx_Path_Selection_ u8 rf_rssi[4]; u8 rf_enable_rssi_th[4]; long cck_pwdb_sta[4]; -}DRxPathSel; +};//; typedef enum tag_CCK_Rx_Path_Method_Definition { @@ -263,7 +262,7 @@ typedef struct tag_Tx_Config_Cmd_Format /*------------------------Export global variable----------------------------*/ extern dig_t dm_digtable; extern u8 dm_shadow[16][256]; -extern DRxPathSel DM_RxPathSelTable; +extern struct drx_path_sel DM_RxPathSelTable; extern u8 test_flag; /*------------------------Export global variable----------------------------*/