diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-18 21:42:14 -0500 |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-24 01:10:04 -0500 |
commit | 2ae7ea8cf099f0c68292c5e890dbfcc205a35f3e (patch) | |
tree | 42c2765cab81cd1c8f7bb265877c8d1fa0dd8087 | |
parent | 910d9e5c2deec0a9068cef5f3ae8c336f6321537 (diff) | |
download | op-kernel-dev-2ae7ea8cf099f0c68292c5e890dbfcc205a35f3e.zip op-kernel-dev-2ae7ea8cf099f0c68292c5e890dbfcc205a35f3e.tar.gz |
staging: rtl8192e: Convert typedef phy_sts_ofdm_819xpci_t to struct phy_sts_ofdm_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 cd25925..d91c3180 100644 --- a/drivers/staging/rtl8192e/r8190P_def.h +++ b/drivers/staging/rtl8192e/r8190P_def.h @@ -278,8 +278,7 @@ struct phy_ofdm_rx_status_rxsc_sgien_exintfflag { u8 ex_intf_flag:1; };//; -typedef struct _phy_ofdm_rx_status_report_819xpci -{ +struct phy_sts_ofdm_819xpci { u8 trsw_gain_X[4]; u8 pwdb_all; u8 cfosho_X[4]; @@ -293,7 +292,7 @@ typedef struct _phy_ofdm_rx_status_report_819xpci u8 max_ex_pwr; u8 sgi_en; u8 rxsc_sgien_exflg; -}phy_sts_ofdm_819xpci_t; +};//; typedef struct _phy_cck_rx_status_report_819xpci { diff --git a/drivers/staging/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/r8192E_dev.c index f55548a..9bff1d0 100644 --- a/drivers/staging/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/r8192E_dev.c @@ -1405,7 +1405,7 @@ void rtl8192_query_rxphystatus( bool bToSelfBA ) { - phy_sts_ofdm_819xpci_t* pofdm_buf; + struct phy_sts_ofdm_819xpci* pofdm_buf; phy_sts_cck_819xpci_t * pcck_buf; struct phy_ofdm_rx_status_rxsc_sgien_exintfflag * prxsc; u8 *prxpkt; @@ -1442,7 +1442,7 @@ void rtl8192_query_rxphystatus( prxpkt += sizeof(rx_fwinfo); pcck_buf = (phy_sts_cck_819xpci_t *)prxpkt; - pofdm_buf = (phy_sts_ofdm_819xpci_t *)prxpkt; + pofdm_buf = (struct phy_sts_ofdm_819xpci *)prxpkt; pstats->RxMIMOSignalQuality[0] = -1; pstats->RxMIMOSignalQuality[1] = -1; |