From e91dbf030128ddd975a336a6e11f76874f5c3985 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Mon, 18 Jul 2011 22:30:34 -0500 Subject: [PATCH] staging: rtl8192e: Convert typedef CHANNEL_ACCESS_SETTING to struct channel_access_setting Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger --- drivers/staging/rtl8192e/r8192E_dev.c | 2 +- drivers/staging/rtl8192e/rtl_core.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/r8192E_dev.c index 688b4f5..b5324a3 100644 --- a/drivers/staging/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/r8192E_dev.c @@ -2280,7 +2280,7 @@ void ActUpdateChannelAccessSetting( struct net_device* dev, WIRELESS_MODE WirelessMode, - PCHANNEL_ACCESS_SETTING ChnlAccessSetting + struct channel_access_setting *ChnlAccessSetting ) { struct r8192_priv* priv = rtllib_priv(dev); diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h index c4d70e3..9ffac40 100644 --- a/drivers/staging/rtl8192e/rtl_core.h +++ b/drivers/staging/rtl8192e/rtl_core.h @@ -472,14 +472,14 @@ typedef struct Stats u32 CurrentShowTxate; } Stats; -typedef struct ChnlAccessSetting { +struct channel_access_setting { u16 SIFS_Timer; u16 DIFS_Timer; u16 SlotTimeTimer; u16 EIFS_Timer; u16 CWminIndex; u16 CWmaxIndex; -}*PCHANNEL_ACCESS_SETTING,CHANNEL_ACCESS_SETTING; +}; typedef enum _TWO_PORT_STATUS { @@ -579,7 +579,7 @@ typedef struct r8192_priv struct workqueue_struct *priv_wq; - CHANNEL_ACCESS_SETTING ChannelAccessSetting; + struct channel_access_setting ChannelAccessSetting; mp_adapter NdisAdapter; @@ -1106,7 +1106,7 @@ void ActUpdateChannelAccessSetting( struct net_device* dev, WIRELESS_MODE WirelessMode, - PCHANNEL_ACCESS_SETTING ChnlAccessSetting + struct channel_access_setting *ChnlAccessSetting ); #endif -- 2.7.4