staging: rtl8192e: Convert typedef CHANNEL_ACCESS_SETTING to struct channel_access_se...
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 03:30:34 +0000 (22:30 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:27:13 +0000 (01:27 -0500)
Remove typedef from struct.
Rename struct.
Rename uses.

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

index 688b4f536bcb083fb1db50df314f488c1c8bae9a..b5324a3fc35916e10bb49387d3bf83d9a642518f 100644 (file)
@@ -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);
index c4d70e3ccd885f15d67cfcdbf39524fc4218d2cb..9ffac40acda02f4a6831341cc2acb174045f19fe 100644 (file)
@@ -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