diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-18 22:36:06 -0500 |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-24 01:28:13 -0500 |
commit | ececd694df70a74a329a2958feed1aa8cfd706c5 (patch) | |
tree | 779aa3164eb9d930851609c42bb213a07add7af6 | |
parent | 9c109856322a4eacd69cc4b20aaa12fbe70e319f (diff) | |
download | op-kernel-dev-ececd694df70a74a329a2958feed1aa8cfd706c5.zip op-kernel-dev-ececd694df70a74a329a2958feed1aa8cfd706c5.tar.gz |
staging: rtl8192e: Convert typedef phy_sts_cck_819xpci_t to struct phy_sts_cck_819xpci
Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
-rw-r--r-- | drivers/staging/rtl8192e/r8190P_def.h | 5 | ||||
-rw-r--r-- | drivers/staging/rtl8192e/r8192E_dev.c | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/drivers/staging/rtl8192e/r8190P_def.h b/drivers/staging/rtl8192e/r8190P_def.h index e481455..f3b6d71 100644 --- a/drivers/staging/rtl8192e/r8190P_def.h +++ b/drivers/staging/rtl8192e/r8190P_def.h @@ -294,12 +294,11 @@ struct phy_sts_ofdm_819xpci { u8 rxsc_sgien_exflg; };//; -typedef struct _phy_cck_rx_status_report_819xpci -{ +struct phy_sts_cck_819xpci { u8 adc_pwdb_X[4]; u8 sq_rpt; u8 cck_agc_rpt; -}phy_sts_cck_819xpci_t, phy_sts_cck_8192s_t; +};//; #define PHY_RSSI_SLID_WIN_MAX 100 diff --git a/drivers/staging/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/r8192E_dev.c index b5324a3..fb42ac2 100644 --- a/drivers/staging/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/r8192E_dev.c @@ -1406,7 +1406,7 @@ void rtl8192_query_rxphystatus( ) { struct phy_sts_ofdm_819xpci* pofdm_buf; - phy_sts_cck_819xpci_t * pcck_buf; + struct phy_sts_cck_819xpci * pcck_buf; struct phy_ofdm_rx_status_rxsc_sgien_exintfflag * prxsc; u8 *prxpkt; u8 i,max_spatial_stream, tmp_rxsnr, tmp_rxevm, rxsc_sgien_exflg; @@ -1441,7 +1441,7 @@ void rtl8192_query_rxphystatus( prxpkt += sizeof(rx_fwinfo); - pcck_buf = (phy_sts_cck_819xpci_t *)prxpkt; + pcck_buf = (struct phy_sts_cck_819xpci *)prxpkt; pofdm_buf = (struct phy_sts_ofdm_819xpci *)prxpkt; pstats->RxMIMOSignalQuality[0] = -1; |