staging: rtl8192e: Convert typedef LOG_INTERRUPT_8190_T to struct log_int_8190
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 02:32:47 +0000 (21:32 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:08:50 +0000 (01:08 -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/rtl_core.c
drivers/staging/rtl8192e/rtl_core.h

index 4bb71238964d9a5c60e7adf934daa03c8862b134..888da4b716a6c33f139e983ae831ed1a876c2a0f 100644 (file)
@@ -256,8 +256,7 @@ struct tx_fwinfo_8190pci {
 
 #define RX_DRIVER_INFO_SIZE    8
 
-typedef struct _LOG_INTERRUPT_8190
-{
+struct log_int_8190 {
        u32     nIMR_COMDOK;
        u32     nIMR_MGNTDOK;
        u32     nIMR_HIGH;
@@ -270,7 +269,7 @@ typedef struct _LOG_INTERRUPT_8190
        u32     nIMR_TBDOK;
        u32     nIMR_BDOK;
        u32     nIMR_RXFOVW;
-} LOG_INTERRUPT_8190_T, *PLOG_INTERRUPT_8190_T;
+};
 
 typedef struct _phy_ofdm_rx_status_rxsc_sgien_exintfflag{
        u8                      reserved:4;
index 4e4ad7a4ad10deae7549b549842800130e2d12e2..7861c362e9cff0f1140110dc43870cfae2f107a9 100644 (file)
@@ -1226,7 +1226,7 @@ static void rtl8192_init_priv_variable(struct net_device* dev)
        priv->force_reset = false;
        memset(priv->rtllib->swcamtable,0,sizeof(SW_CAM_TABLE)*32);
 
-       memset(&priv->InterruptLog,0,sizeof(LOG_INTERRUPT_8190_T));
+       memset(&priv->InterruptLog,0,sizeof(struct log_int_8190));
        priv->RxCounter = 0;
         priv->rtllib->wx_set_enc = 0;
        priv->bHwRadioOff = false;
index 4fc78aa2368b921c1bdebb0358c5df635ff29490..77b46bfaebb9e170eaccd5dee1d98c79da948101 100644 (file)
@@ -588,7 +588,7 @@ typedef struct r8192_priv
 
        work_struct_rsl                         reset_wq;
 
-       LOG_INTERRUPT_8190_T    InterruptLog;
+       struct log_int_8190 InterruptLog;
 
        RT_CUSTOMER_ID                  CustomerID;