diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-18 21:34:49 -0500 |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-24 01:09:26 -0500 |
commit | 910d9e5c2deec0a9068cef5f3ae8c336f6321537 (patch) | |
tree | fd3c61b4de26f39583bc035ec95e45a51b1641a9 | |
parent | c13ac63b6096f87e5be41893a3a4e7a1848a20ae (diff) | |
download | op-kernel-dev-910d9e5c2deec0a9068cef5f3ae8c336f6321537.zip op-kernel-dev-910d9e5c2deec0a9068cef5f3ae8c336f6321537.tar.gz |
staging: rtl8192e: Convert typedef phy_ofdm_rx_status_rxsc_sgien_exintfflag to struct phy_ofdm_rx_status_rxsc_sgien_exintfflag
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 | 4 | ||||
-rw-r--r-- | drivers/staging/rtl8192e/r8192E_dev.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/rtl8192e/r8190P_def.h b/drivers/staging/rtl8192e/r8190P_def.h index 888da4b..cd25925 100644 --- a/drivers/staging/rtl8192e/r8190P_def.h +++ b/drivers/staging/rtl8192e/r8190P_def.h @@ -271,12 +271,12 @@ struct log_int_8190 { u32 nIMR_RXFOVW; }; -typedef struct _phy_ofdm_rx_status_rxsc_sgien_exintfflag{ +struct phy_ofdm_rx_status_rxsc_sgien_exintfflag { u8 reserved:4; u8 rxsc:2; u8 sgi_en:1; u8 ex_intf_flag:1; -}phy_ofdm_rx_status_rxsc_sgien_exintfflag; +};//; typedef struct _phy_ofdm_rx_status_report_819xpci { diff --git a/drivers/staging/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/r8192E_dev.c index e41736b..f55548a 100644 --- a/drivers/staging/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/r8192E_dev.c @@ -1407,7 +1407,7 @@ void rtl8192_query_rxphystatus( { phy_sts_ofdm_819xpci_t* pofdm_buf; phy_sts_cck_819xpci_t * pcck_buf; - phy_ofdm_rx_status_rxsc_sgien_exintfflag* prxsc; + struct phy_ofdm_rx_status_rxsc_sgien_exintfflag * prxsc; u8 *prxpkt; u8 i,max_spatial_stream, tmp_rxsnr, tmp_rxevm, rxsc_sgien_exflg; char rx_pwr[4], rx_pwr_all=0; @@ -1580,7 +1580,7 @@ void rtl8192_query_rxphystatus( rxsc_sgien_exflg = pofdm_buf->rxsc_sgien_exflg; - prxsc = (phy_ofdm_rx_status_rxsc_sgien_exintfflag *)&rxsc_sgien_exflg; + prxsc = (struct phy_ofdm_rx_status_rxsc_sgien_exintfflag *)&rxsc_sgien_exflg; if (pdrvinfo->BW) priv->stats.received_bwtype[1+prxsc->rxsc]++; else |