summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2011-07-19 02:32:47 (GMT)
committerLarry Finger <Larry.Finger@lwfinger.net>2011-08-24 06:08:50 (GMT)
commitc13ac63b6096f87e5be41893a3a4e7a1848a20ae (patch)
tree5a52d95d7a520968f448b50f733f39a97102c176 /drivers
parenta07dc3d145334fec51f1b773a47e84cd1d36c3ec (diff)
downloadlinux-c13ac63b6096f87e5be41893a3a4e7a1848a20ae.tar.xz
staging: rtl8192e: Convert typedef LOG_INTERRUPT_8190_T to struct log_int_8190
Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rtl8192e/r8190P_def.h5
-rw-r--r--drivers/staging/rtl8192e/rtl_core.c2
-rw-r--r--drivers/staging/rtl8192e/rtl_core.h2
3 files changed, 4 insertions, 5 deletions
diff --git a/drivers/staging/rtl8192e/r8190P_def.h b/drivers/staging/rtl8192e/r8190P_def.h
index 4bb71238..888da4b 100644
--- a/drivers/staging/rtl8192e/r8190P_def.h
+++ b/drivers/staging/rtl8192e/r8190P_def.h
@@ -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;
diff --git a/drivers/staging/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl_core.c
index 4e4ad7a..7861c36 100644
--- a/drivers/staging/rtl8192e/rtl_core.c
+++ b/drivers/staging/rtl8192e/rtl_core.c
@@ -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;
diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h
index 4fc78aa..77b46bf 100644
--- a/drivers/staging/rtl8192e/rtl_core.h
+++ b/drivers/staging/rtl8192e/rtl_core.h
@@ -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;