Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef LOG_INTERRUPT_8190_T to struct log…
Browse files Browse the repository at this point in the history
…_int_8190

Remove typedef from struct.
Rename struct.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent a07dc3d commit c13ac63
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/rtl8192e/r8190P_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192e/rtl_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192e/rtl_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c13ac63

Please sign in to comment.