]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
staging: rtl8192e: Convert typedef phy_sts_ofdm_819xpci_t to struct phy_sts_ofdm_819xpci
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 02:42:14 +0000 (21:42 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:10:04 +0000 (01:10 -0500)
Remove typedef from struct.
Rename struct.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/r8190P_def.h
drivers/staging/rtl8192e/r8192E_dev.c

index cd259258924b1a902880c451f9540a38e6676d69..d91c3180d010ab06526e04e198c3a065f1b540eb 100644 (file)
@@ -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
 {
index f55548aa6b08c7752a972a8b5dd07798b783707a..9bff1d03360e460b91ed30b09e59dfbbe644bccb 100644 (file)
@@ -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;